When touch is pressed-stop actor from spawning.....
iTouchGamer
Member Posts: 681
Is there a way to do this??
Not the actor that is pressed, a different actor that I have spawning..
Not the actor that is pressed, a different actor that I have spawning..
Comments
In the actor you have spawning have a rule when attribute spawn= 0
then put your timer in that rule where its every sec, then put the spawn behavior in that timer in the rule
then in the actor you want to press to stop spawning have when touch is pressed change attribute spawn to 1
I have a rule in the 1st actor that says:http://f.cl.ly/items/1a2k3q0Q2H3l1H0e3y2Z/Screen shot 2011-02-18 at 9.39.35 PM.png
First thing first just change it how i said and see if it works, you can adjust it once its working
@iTouch change it to 0.1 seconds
Then to finsih your question have a rule in the actor you want to touch to stop the spawning, when actor recieves event touch is pressed change attribute spawn to 1