Description
Wiki Description
Makes the actor path to the target reference at a given speed.
Documentation Comment
Make the actor path to a reference, latent version
Note: this method doesn't return until the goal is reached or pathing
failed or was interrupted (by another request for instance)
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
floatafWalkRunPercent
CK Wiki Description
The speed to move with, as a percentage of the walk/run speeds (valid range 0 -> 1)
Examples
; Make actor path to the player at half speed
Bob.PathToReference(Game.GetPlayer(), 0.5)Auto-Generated Example
ObjectReference myObjectReference__aTarget
float myFloat__afWalkRunPercent
bool returnedValue = myActor__toCallFunctionOn.PathToReference(myObjectReference__aTarget, myFloat__afWalkRunPercent)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
