Background for Starfield
Member of the Actor script
intfunctionPathToReference(ObjectReferenceaTarget, floatafNormalizedSpeed, floatafNormalizedRotationSpeed, floatafTargetRadius=-1, boolabHardRadius=false)Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

  • This function is latent. It will suspend the script's execution until the path is either complete or failed/was interrupted.

Parameters

ObjectReferenceaTarget

CK Wiki Description

The target reference to path to.

floatafNormalizedSpeed

floatafNormalizedRotationSpeed

floatafTargetRadius=-1

boolabHardRadius=false


Examples

; Make actor path to the player at half speed
Bob.PathToReference(Game.GetPlayer(), 0.5)

Auto-Generated Example

ObjectReference myObjectReference__aTarget
float myFloat__afNormalizedSpeed
float myFloat__afNormalizedRotationSpeed
float myFloat__afTargetRadius
bool myBool__abHardRadius

int returnedValue = myActor__toCallFunctionOn.PathToReference(myObjectReference__aTarget, myFloat__afNormalizedSpeed, myFloat__afNormalizedRotationSpeed, myFloat__afTargetRadius, myBool__abHardRadius)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

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