Background for Starfield
Member of the RefCollectionAlias script
eventOnShipFarTravel(ObjectReferenceakSenderRef, LocationaDepartureLocation, LocationaArrivalLocation, intaState)

Description

Documentation Comment

Event received when a ship begins or ends far travel - State { Departure = 0, Arrival = 1 }


Parameters

ObjectReferenceakSenderRef

LocationaDepartureLocation

LocationaArrivalLocation

intaState


Examples

Auto-Generated Example

Scriptname MyCoolScript extends RefCollectionAlias

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