Skip to content

Teleport

Broström.A | Evul edited this page Jan 15, 2024 · 4 revisions

This function allow you to set a teleporter from and to any kind of object taking in consideration the height (Z) of the destination. Note that this will not be applied for MARKER, LOCATION and TASK.

/* 0: Object <OBJECT>
 * 1: Label text <STRING>
 * 2: Destination <MARKER/OBJECT/LOCATION/GROUP/TASK>
 */

[this, "Teleport - Airfield", Airstrip] call cav_mission_fnc_teleport;
[this, "Teleport - Base", MyBase] call cav_mission_fnc_teleport;
[this, "Teleport - Talon", "FOB_Talon"] call cav_mission_fnc_teleport;
[this, "Teleport - Base", "respawn_west"] call cav_mission_fnc_teleport;

The function is applied manually via Eden on the objects init.

See also

Clone this wiki locally