Difference between revisions of "MessageBox Tutorial"
Jump to navigation
Jump to search
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 (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 (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) |