Alright, I've got a script that more-or-less functions. It is meant to turn the creature it is attached to into a statue, no movement, no interaction, and has the effectStone shader applied. It then reanimates the creature when activated. This all works. But the "statue" still plays the idle animation even when frozen. The only way I've found to eliminate the look of breathing is to use SkipAnim. However, once SkipAnim is run I can't get animations to play normally, at all really. I've tried PlayGroup and LoopGroup, as the documentation says those will undo SkipAnim. But I'm not having any luck. My script is below, any help or insights on this would be awesome!
short doOnceshort isAliveref statueCreaturebegin OnActivate if isAlive == 1 set isAlive to 0 set doOnce to 0 else set isAlive to 1 set doOnce to 0 endifendbegin gamemode if isAlive == 1 if doOnce == 0 set statueCreature to MyScampCreature statueCreature.setalert 0 statueCreature.setunconscious 0 statueCreature.setghost 0 statueCreature.setav speed 10 statueCreature.pms effectReanimate 1 statueCreature.PlayGroup Forward 1 statueCreature.StartCombat Player set doOnce to 1 endif else if doOnce == 0 set statueCreature to MyScampCreature statueCreature.setalert 1 statueCreature.pickidle statueCreature.setunconscious 1 statueCreature.setghost 1 statueCreature.setav speed 0 statueCreature.pms effectStone statueCreature.SkipAnim set doOnce to 1 endif endif end