Show state


#1

Hello, i am creating game.
And need to know , how can i add condition like this :
If this state ( controller) have been activated 2 times during the expreience, one timeline or new state will be activate.
Can please advise me? How to make it?


#2

Hi, you can use a variable to keep track of the number of times the controller have been activated. Initialize a global variable to 0 then in the script, from where the controller is invoked, increment and/or test its value. Cheers.


#3

Done .
Thank you for your support .


#4

No problem!:grinning: