BIS fnc addRespawnPosition: Difference between revisions
Jump to navigation
Jump to search
position:
Array in format [target,id] (used in BIS_fnc_removeRespawnPosition)
m (Generated by BIS_fnc_exportFunctionsToWiki) |
m (Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.50|= Game version |eff= local |= ___...") |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 5: | Line 4: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
| | |0.50|= Game version | ||
|eff= local |= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Add a respawn position for [[Arma 3 Respawn#MenuPosition|respawn menu]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| < | | [<target>,<position>] spawn BIS_fnc_addRespawnPosition; |= Syntax | ||
|p1= |= | |p1= '''target''': Receiver of the respawn position | ||
: [[Namespace]] - use [[missionNamespace]] to add the position to everyone | |||
: [[Side]] | |||
: [[Group]] | |||
: [[Object]]|= | |||
|p2= '''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]]) |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code><nowiki>[</nowiki>[[west]], myRespawnAPC] call BIS_fnc_addRespawnPosition;</code> |= | |||
| | |x2= <code><nowiki>[</nowiki>[[missionNamespace]],"arena"] call BIS_fnc_addRespawnPosition;</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[Arma 3 Respawn]] |= See also | ||
}} | }} | ||
Line 56: | Line 44: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Arma 3:_Functions|addRespawnPosition]] | |||
[[Category: |
Revision as of 10:10, 23 June 2013
Description
- Description:
- Add a respawn position for respawn menu.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [<target>,<position>] spawn BIS_fnc_addRespawnPosition;
- Parameters:
- target: Receiver of the respawn position
- Namespace - use missionNamespace to add the position to everyone
- Side
- Group
- Object
Examples
- Example 1:
[west, myRespawnAPC] call BIS_fnc_addRespawnPosition;
- Example 2:
[missionNamespace,"arena"] call BIS_fnc_addRespawnPosition;
Additional Information
- See also:
- Arma 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