SetPersonFrameRevert
From Spheriki
Sets the delay between when the person last moved and when to revert the animation to the first frame.
Contents |
[edit]
Usage
SetPersonFrameRevert(person, delay);
- person Name of the person to set this property for.
- delay Delay in frames.
[edit]
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.
[edit]
Notes
- When set to 0, the frame revert behaviour is turned off.
[edit]

