Other great resources: Official JS API docs, Scripting Forum
eventTransporterLaunch()
Triggered when a mission transporter has been instructed to launch....
Syntax
function eventTransporterLaunch(transport) {
// do stuff
}Parameters
Parameter | Type | Mandatory | Notes | Game version |
|---|---|---|---|---|
transport | The transporter that was launched. | 3.2 |
Return value
Warzone does not process the return value of this event.
Notes
In a campaign mission, when the transport is launched it will fly to the co-ordinates defined by setTransporterExit() and then leave the map.
Example
function eventTransporterLaunch() {
playSound("pcv441.ogg"); // Reinforcements in transit
}