- Found in:
- Vanilla
Description
Documentation Comment
Ramps the movement speed on the actor to the passed in value over the passed in time
afSpeedMult is a speed multiplier based on the current max speeds
- 0 -> 1 Scales between 0 and the Walk speed
- 1 -> 2 Scales between Walk speed and Run Speed
- 2 and above is a multiplier of the run speed (less 1.0 since Run is 2.0)
afRampTime is in seconds
Caveats
Parameters
floatafSpeedMult
floatafRampTime=0.1
Examples
Auto-Generated Example
float myFloat__afSpeedMult
float myFloat__afRampTime
myActor__toCallFunctionOn.ForceMovementSpeedRamp(myFloat__afSpeedMult, myFloat__afRampTime)