BIS fnc addRespawnPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 44: Line 44:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Function Group: Respawn|{{uc:addRespawnPosition}}]]
[[Category:Arma 3:_Functions|addRespawnPosition]]
[[Category:Functions|{{uc:addRespawnPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:addRespawnPosition}}]]

Revision as of 12:02, 28 July 2014

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