— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Changes the movement speed (in voxels per second) of the specified entity.
set_movement_speed(character, speed)
Argument | Description | Type | Required |
---|---|---|---|
character | Character for which to update the movement speed. | Entity | Yes |
speed | New movement speed (in voxels per second). | Decimal | Yes |
Set Animation Speed would typically be used along with this function to simultaneously speed up or slow down both the character's walk animation and walking speed.
set_movement_speed(player, 60)
Results: The player's movement speed is changed to 60 voxels per second.
Use the Set Movement Speed function to …