(140) _OBJ_ANIME_WAIT
Effect
Waits for an animation to finish. Script execution is paused until then.
If this command is not used, the script will continue to run while the animation is ongoing.
Syntax
_OBJ_ANIME_WAIT()
Example
ev_dummy:
_OBJ_ANIME('HERO', 'anm_dummy')
_OBJ_ANIME_WAIT()
anm_dummy:
_ACMD_END()
The above script will call an animation function and wait for the animation function to finish before executing the rest of the script.