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

Description

Documentation Comment

Make the spaceship attempt to 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)
Return values (see Actor for PathingResult properties):
0 - Success
1 - Failure
2 - Stopped
3 - Cleared
4 - Timeout


Caveats


Parameters

ObjectReferenceaTarget

floatafNormalizedSpeed

floatafNormalizedRotationSpeed

floatafTargetRadius=-1

boolabHardRadius=false


Examples

Auto-Generated Example

ObjectReference myObjectReference__aTarget
float myFloat__afNormalizedSpeed
float myFloat__afNormalizedRotationSpeed
float myFloat__afTargetRadius
bool myBool__abHardRadius

int returnedValue = mySpaceshipReference__toCallFunctionOn.PathToReference(myObjectReference__aTarget, myFloat__afNormalizedSpeed, myFloat__afNormalizedRotationSpeed, myFloat__afTargetRadius, myBool__abHardRadius)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.