BIS fnc addRespawnPosition: Difference between revisions
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 | |||
*[[Side]] | |||
*[[Group]] | |||
*[[Object]]|= | |||
|p2= '''position''': | |p2= '''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|= | |||
| [[Array]] | | [[Array]] - format [target,id] (used in [[BIS_fnc_removeRespawnPosition]]) |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 20:24, 4 August 2014
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:
- 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
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