Hi, I don't know how I would do it but I know I need an event tied to a spell ability. Not sure about the specifics maybe someone can help me? I want to have a "Giantism" spell that makes my player very high off of the ground, either enlarging his prefab, or putting him y position higher in the air. Then I want a "Dwarfism" spell, to do the reverse, low to the ground. Any help greatly appreciated. Please be specific about what I should do exactly so I can try it out. Thank you.
Since this just changes the scale of the spawned prefab of the combatant, the effect would be gone when you change scenes.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
That way you can use autostart interaction in each scene to turn the spell on and off - or even only allow it within defined areas (trigger enter interactions) of a scene.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
To actually change the variable, you'll need 2 game events, one that sets the bool variable true, one that sets it false. Depending on allowing the ability or not, you'd use one of the game events in an Autostart event interaction in the scene.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Not the best solution, but i have had enough trying. and at least now, I can add a message to it, not sure if i could have before. oh well.
In case you want to try it with variables again - the use requirement variable condition would look like this (using a bool variable with the key 'noFly':
- condition type: Variable
- Value Type (Variable Key): Value
- Value (Variable Key): noFly
- Is Valid: enabled
- Type: Bool
For changing the variable using a Change Game Variables node, the variable key would be the same (i.e. value type Value and value noFly), type would be Bool as well. The Value toggle field defines if the variable will be set to true (enabled) or false (disabled).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
awesome. I just solved the running far away biting in the air problem with 99 percent of my creatures. I set the animation settings on the prefab EXACTLY as they were on the gazelle that worked, and bang, the wolf works perfectly now. Just to rinse and repeat and I'm good. Thank GOD. That was plaguing me for months. probably a year.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!