BIS fnc addRespawnPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [<target>,<position>] spawn BIS_fnc_addRespawnPosition; |= Syntax
| [<target>,<position>] call [[BIS_fnc_addRespawnPosition]]; |= Syntax


|p1= '''target''': Receiver of the respawn position
|p1= '''target''': Receiver of the respawn position
Line 27: Line 27:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code><nowiki>[</nowiki>[[west]], myRespawnAPC] call BIS_fnc_addRespawnPosition;</code> |=
|x1= <code><nowiki>[</nowiki>[[west]], myRespawnAPC] [[call]] [[BIS_fnc_addRespawnPosition]];</code> |=


|x2= <code><nowiki>[</nowiki>[[missionNamespace]],"arena"] call BIS_fnc_addRespawnPosition;</code> |=
|x2= <code>myRespawn<nowiki> = [</nowiki>[[missionNamespace]],"arena"] [[call]] [[BIS_fnc_addRespawnPosition]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Arma 3 Respawn]] |= See also
| [[BIS fnc removeRespawnPosition]], [[Arma 3 Respawn]] |= See also


}}
}}

Revision as of 09:07, 12 August 2013

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