I'm looking for help with a script. My scripted token has 2 different problems.
First: Since it is an invisible character using imperative ghost display, you can't right click it to check what it is ingame. Any idea how to solve this?
Second: Since I'm using "
wait for player to touch me"
 it doesn't work with mimics, decoys and temporal time clones.
Here's my script. It freezes all water in the room. (Feel free to use it yourself if you like)
  Imperative 13
  Face direction North
Label Start
  Wait for player to touch me 
  Set var "_MyScriptX" = 0
  Set var "_MyScriptY" = 0
  Set var "WaterChanged" = 0
Label FreezeAllWater
  If ... 
        Wait for item Water,0,0,0,0
     Build Thin ice,0,0,0,0
     Game effect Center,Splash,0,0,Off
     Set var "WaterChanged" = 1
  If End 
  If ... 
        Wait until var "_MyScriptY" = 32
     Set var "_MyScriptX" = -9999
     Set var "_MyScriptY" = -9999
     If ... 
           Wait until var "WaterChanged" = 1
        Face direction northeast
        Go to UsedToken
     If End 
     Go to OnToken
  Else If 
        Wait until var "_MyScriptX" = 38
     Set var "_MyScriptX" = 0
     Set var "_MyScriptY" + 1
  Else 
     Set var "_MyScriptX" + 1
  If End 
  Go to FreezeAllWater
Label OnToken
  Wait 0
  If ... 
        Wait for player to touch me 
     Go to OnToken
  If End 
  Go to Start
Label UsedToken
[Last edited by GerAvos at 06-05-2016 01:52 PM]