Background for Starfield
Member of the RefCollectionAlias script
eventOnPlayerFailedPlotRoute(ObjectReferenceakSenderRef, intaeFailedPlotReason)

Description

Documentation Comment

Event received when the player plots a failed starmap route
Type is as follows:
0 - Success
1 - Insufficient Fuel
2 - Out of Range
3 - Unexplored System


Parameters

ObjectReferenceakSenderRef

intaeFailedPlotReason


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

event OnPlayerFailedPlotRoute(ObjectReference akSenderRef, int aeFailedPlotReason)
    Debug.trace("Event received - OnPlayerFailedPlotRoute: akSenderRef = " + akSenderRef + " aeFailedPlotReason = " + aeFailedPlotReason)
endEvent
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.