I followed ur advice ! and it works perfect.
What i wrote is the following :
- Code: Select all
int animToRun=round(rand(4));
switch (animToRun)
{
case 1:
CreateTimer("Event Actor", "M1", 4000);
break;
case 2:
CreateTimer("Event Actor", "M2", 3000);
break;
case 3:
CreateTimer("Event Actor", "M3", 4000);
break;
case 4:
CreateTimer("Event Actor", "M4", 3000);
break;
}
and at each Timer, ChangeAnimation
Wow, u don't know how much u helped me
switch is a very helpful thing ! i've been working with that when i started GE but as i lack programming experience and knowledge ... i really didn't think about that
Oooohhh THank u Thank u Thank u