- Code: Select all
if (Juan == 4)
{
Juan = 1;
}
switch (Juan)
{
case 1: DestroyActor("uno");
CreateActor("pelota", "black_ball", "(none)", "(none)", -200, 0, true);
break;
case 2: DestroyActor("uno");
CreateActor("pelota", "black_ball", "(none)", "(none)", 0, 0, true);
break;
case 3: DestroyActor("uno");
CreateActor("pelota", "black_ball", "(none)", "(none)", +200, 0, true);
}
I want now that ''pelota'' destroy in 0.5 seconds...
How I can?
when I choose create actor ''pelota'' -> create timer--> ''timer_one'' (0.5seg)
and choose timer---> ''timer_one'' ----> destroy actor...
what hapend? NATHING...