Difference between revisions of "MessageBox Tutorial"

Jump to navigation Jump to search
202 bytes added ,  11:45, 29 August 2007
→‎Activator Script: Reset info added
imported>Haama
(→‎Activator Disadvantages: Examples and Explanations)
imported>Haama
(→‎Activator Script: Reset info added)
Short Choosing
Short Choice
short Reset
 
 
Begin onActivate
Set Choosing to -1
Set Reset to 1
If (GetInSameCell player == 0) ;always keep it near the player
MoveTo player
Begin GameMode
If (Choosing == 0) ;meaning it shouldn't be running
If Reset
;Add anything that needs to be re-initialized,
; or that you changed in the onActivate block that needs to be reset
Set Reset to 0
Endif
If (GetInSameCell YourXMarker == 0)
MoveTo YourXMarker
Anonymous user

Navigation menu