SetSpeedMult
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Sets the calling actor's Speed Multiplier to the specified value and applies the changes on movement animations.
If the speedMult argument is omitted, the function applies the changes using the current value.
Syntax
reference.SetSpeedMult speedMult:int
Example
actorRef.SetSpeedMult 125
actorRef.SetSpeedMult
Notes
- Setting the SpeedMult for an actor to a value below 0 seems to stop them from moving entirely.
- Changing the SpeedMult Actor Value with this function is save-baked. Consider using "SomeActor.GetAV SpeedMult" if you need to undo that change in the future.
See Also
- GetAV (since SpeedMult is an Actor Value)
- Movement Settings
- GetRunSpeed
- GetWalkSpeed