Originally posted by Falcon
Is there a way that we can loop certain events like one event enabling another event.
Heres what Im trying to do. I trying to set up an event where I enable the AI by a certain key but when another key is pressed it will deactivate it. And I want this continous to go over and over and over activating and deactivating it whensoever I please.
Variables are your friend.
1) Create a variable with a default value of zero
2) Create an event that sets the variable's value to 1 whenever you press the key you want.
3) Create a second event that sets the variable back to zero whenever the other key is pressed.
4) Give both of these events repeat counts of 999999999999999.
5) Create a third event that says:
when
=
1
6) Create a fourth event that says:
when
=
0
Give the third and fourth events repeat counts of 999999999999999 as well.
Should work.