The code doesnt repeat the events
my code is something like this:
count++;
if(count == 1)
{
//Create actor 1
}
else if(count == 2)
{
//Create actor 2
}
else if (count ==3)
{
//destroy actor 1
//destroy actor 2
}
my code is something like this:
count++;
if(count == 1)
{
//Create actor 1
}
else if(count == 2)
{
//Create actor 2
}
else if (count ==3)
{
//destroy actor 1
//destroy actor 2
}