Background for Starfield
Member of the Actor script
voidfunctionForceMovementSpeedRamp(floatafSpeedMult, floatafRampTime=0.1)NativeDebugOnly

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)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.