I want to simulate a thunder.
For this I have set up a main parent object, and parented 3 objects to it.
In the parent FSM I have put a GET RANDOM CHILD, and I activate the selected game object and deactivate the last selected child.
But this is not working because the get random child action has no option to work at each fram.
How can I overcome this?
I was thinking: it is strange that the action GET RANDOM CHILD cannot be called at each frame, while the ACTIVATE GAME OBJECT has the option.
I can't understand why one would call the activation of a game object at each frame.
I have tried also other solutions, but I occur to the same problem: when I want to set up something that happens at every frame, some command does not allow me to do it.
In example, also the RANDOM INT can't be called at every frame.
And it's virtually for EVERYTHING like this.
I can't set up a loop in a state to do what I want.
Also SELECT RANDOM GAME OBJECT is missing the EVERY FRAME option.
Why?