I want an cog to run an event only once in a level. I tried using the method of:
if x = 0
//as in the event never took place
{
do stuff...
x = 1
return;
}
Now that didn't work...any other suggestions?
if x = 0
//as in the event never took place
{
do stuff...
x = 1
return;
}
Now that didn't work...any other suggestions?