SetPersonFrameRevert
From Spheriki
Sets the delay between when the person last moved and when to revert the animation to the first frame.
Contents |
Usage
- person Name of the person to set this property for.
- delay Delay in frames.
Examples
In a map engine that runs 60 frames per second:
SetPersonFrameRevert("Pete", 60);
Will revert the person's animation frame to 0 if it hasn't moved for a second.
Notes
- When set to 0, the frame revert behaviour is turned off.