- Found in:
- Vanilla
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
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
