Background for Fallout 4
Member of the Actor script
voidfunctionForceTargetSpeed(floatafSpeed)NativeDebugOnly

Description

Documentation Comment

Sets the target movement speed on the actor
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)

Caveats


Parameters

floatafSpeed


Examples

Auto-Generated Example

float myFloat__afSpeed

myActor__toCallFunctionOn.ForceTargetSpeed(myFloat__afSpeed)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.