SetPersonSpeed
From Spheriki
Sets the person's movement speed in both X and Y values. The movement affects how many pixels a person walks each frame.
Contents |
Usage
- person The name of the person to change the speed of.
- speed The amount of pixels the person will walk each frame.
Examples
SetPersonSpeed("Aegis", 2);
Will make Aegis move with a speed of 2 pixels a frame.
Notes
- You can define decimal and negative speed values, too.
- If set to 0, the person is never able to move, but animations will occur! This can be useful for a half-custom movement system.