Difference between revisions of "MessageBox Tutorial"

26 bytes removed ,  17:53, 14 June 2007
no edit summary
imported>Haama
imported>Haama
Line 156: Line 156:
Begin onActivate
Begin onActivate
   Set Choosing to -1
   Set Choosing to -1
  If (GetInSameCell player == 0) ;always keep it near the player
    MoveTo player
  Endif
End
End


Line 161: Line 164:


Begin GameMode
Begin GameMode
  If (GetInSameCell player == 0) ;always keep it near the player
    MoveTo player
    Return
  Endif
   If (Choosing == 0) ;meaning it shouldn't be running
   If (Choosing == 0) ;meaning it shouldn't be running
     If (GetInSameCell YourXMarker == 0)
     If (GetInSameCell YourXMarker == 0)
Line 204: Line 201:
Begin onActivate
Begin onActivate
   Set Choosing to -1
   Set Choosing to -1
  If (GetInSameCell player == 0)
    MoveTo player
  Endif
End
End


Line 209: Line 209:


Begin GameMode
Begin GameMode
  If (GetInSameCell player == 0)
    MoveTo player
    Return
  Endif
   If (Choosing == 0) ;meaning it shouldn't be running
   If (Choosing == 0) ;meaning it shouldn't be running
     If (GetInSameCell YourXMarker == 0)
     If (GetInSameCell YourXMarker == 0)
Anonymous user