Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Triggered when a mission transporter has been instructed to launch.... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
function eventTransporterLaunch(transport) {
// do stuff
} |
Parameters
This event has no parameters.Parameter | Type | Mandatory | Notes | Game version |
---|---|---|---|---|
transport | Droid object | 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
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
function eventTransporterLaunch() { playSound("pcv441.ogg"); // Reinforcements in transit } |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
Earlier versions:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|