Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   How to stop events (http://www.alice.org/community/showthread.php?t=10383)

Pidove 12-04-2013 09:54 PM

How to stop events
 
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


All times are GMT -5. The time now is 12:45 PM.

Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.