So I've been using the Xail System - Teleport script...
http://niclas-thornqvist.se/rpg/scripts/ace/xs-teleport.txt
...and there's a section that lets you set the animation id. However, I can't figure out how to make it so that a different animation play based on a variable in my game.
The line that lets you change the animation looks like this...
ANIM_ID = 81
...which I want to set to nil as default, but play an animation (113 in this case) if variable (10) is set to 1 instead of 0.
Any help would be appreciated!
http://niclas-thornqvist.se/rpg/scripts/ace/xs-teleport.txt
...and there's a section that lets you set the animation id. However, I can't figure out how to make it so that a different animation play based on a variable in my game.
The line that lets you change the animation looks like this...
ANIM_ID = 81
...which I want to set to nil as default, but play an animation (113 in this case) if variable (10) is set to 1 instead of 0.
Any help would be appreciated!