Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Bring a mission transporter on to the map... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
startTransporterEntry(x, y, player); |
Parameters
Parameter | Type | Mandatory | Notes | Game version |
---|---|---|---|---|
x | Number | The x co-ordinate where the transport should appear from. | 3.2 | |
y | Number | The y co-ordinate where the transport should appear from. | 3.2 | |
player | Number | The ID of the player who the transport belongs to. | 3.2 |
Return value
Notes
This function is primarily designed for use in campaign missions. In other game modes, it would probably be better to use addDroid() instead.
When specifying the co-ordinates where the transport appears from, you should ideally choose a position at the edge of the map, otherwise it will look like the transport just appeared out of nowhere.
The droids on the transport can be defined in mdroid.ini (about which I know nothing – please provide details if you know more!)
When the transport arrives, eventTransporterArrived() will be triggered.
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
setTransportEntrystartTransportEntry(47, 0, me); |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Include Page | ||||
---|---|---|---|---|
|