BIS_fnc_addRespawnPosition

From Bohemia Interactive Community
Revision as of 16:23, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Add a respawn position for respawn menu.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[<target>,<position>] call BIS_fnc_addRespawnPosition;
Parameters:
target: Receiver of the respawn position
Namespace - use missionNamespace to add the position to everyone
Side
Group
Object
position:
Array in Position format
Object - specific object. When some crew positions are available and unlocked, players will be respawned on them, otherwise they will appear around the object.
String - marker name
Return Value:
Array in format [target,id] (used in BIS_fnc_removeRespawnPosition)

Examples

Example 1:
[west, myRespawnAPC] call BIS_fnc_addRespawnPosition;
Example 2:
myRespawn = [missionNamespace,"arena"] call BIS_fnc_addRespawnPosition;

Additional Information

See also:
BIS_fnc_removeRespawnPositionArma 3 Respawn

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section