deleting actors bug
igpxnaruto4
Member Posts: 81
ok i made a button that would destroy all actors on the screen, i made an attribute integer, to 0 then i made it so when i click the button it turns the integer to 1, then i went into the bad guys and made it so that when the integer was 1 the actor would destroy itself, and after 0.1 second it would turn the integer to 0. when i go to test it out and i hit the button, the actors delete but stop spawning... idk what to do... anybody help?
Comments
Try putting your timer rule in the otherwise of the touch is pressed rule on the button