BIS fnc addRespawnPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(syntax)
Line 15: Line 15:


|p1= '''target''': Receiver of the respawn position
|p1= '''target''': Receiver of the respawn position
: [[Namespace]] - use [[missionNamespace]] to add the position to everyone
*[[Namespace]] - use [[missionNamespace]] to add the position to everyone
: [[Side]]
*[[Side]]
: [[Group]]
*[[Group]]
: [[Object]]|=
*[[Object]]|=
|p2= '''position''':
|p2= '''position''':
: [[Array]] in [[Position]] format
*[[Array]] - format [[Position]]
: [[Object]] - specific object. When some crew positions are available and unlocked, players will be respawned on them, otherwise they will appear around the object.
*[[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|=
*[[String]] - marker name|=


| [[Array]] in format [target,id] (used in [[BIS_fnc_removeRespawnPosition]]) |= Return value
| [[Array]] - format [target,id] (used in [[BIS_fnc_removeRespawnPosition]]) |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   

Revision as of 20:24, 4 August 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
position:
  • Array - format Position
  • 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 - 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