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