PDA

View Full Version : How to stop events


Pidove
12-04-2013, 09:54 PM
Hi everybody! i have been wanting to do a huge alice world where british soldiers are making a last stand against the enemy and i want a way to make the mouse move the soldiers before the battle so you can prepare. When the battle begins, how do you stop the mouse from moving the soldiers? is there a way to stop events? :confused:

sfunk
12-06-2013, 07:28 PM
Just use a true false variable and if statements, put your move method into an if statement, then in the variable, place if variable=true, then in game, when you finish making your preparations, have it click on on a button or something, in which then the variable turns false, so the event becomes void.

Pidove
12-07-2013, 04:11 PM
sorry but i meant events. Not methods. what iam trying to say is how to stop an event like for example, the "let the mouse move <object> event".

Pidove
12-07-2013, 04:12 PM
I am pretty sure you can put events in if statements