BIS fnc getRespawnMarkers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Respawn | |gr1= Respawn | ||
| Returns all respawn markers for given side. | | Returns all respawn markers for given side. | ||
| [side,vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] | | [side,vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] | ||
|p1= side: [[Side]] - (Optional, default {{Inline code|[[player]] [[call]] [[BIS_fnc_objectSide]]}}) side to which returned markers belong to | |p1= side: [[Side]] - (Optional, default {{Inline code|[[player]] [[call]] [[BIS_fnc_objectSide]]}}) side to which returned markers belong to | ||
|p2= vehicleMarkers: [[Boolean]] - (Optional, default [[false]]) [[true]] to return vehicle respawn markers, [[false]] to return units respawn markers | |p2= vehicleMarkers: [[Boolean]] - (Optional, default [[false]]) [[true]] to return vehicle respawn markers, [[false]] to return units respawn markers | ||
| [[Array]] of [[String|Strings]] - Respawn markers of given side | | [[Array]] of [[String|Strings]] - Respawn markers of given side | ||
|x1= <code><nowiki>[</nowiki>[[west]], [[false]]] [[call]] [[BIS_fnc_getRespawnMarkers]];</code> | |x1= <code><nowiki>[</nowiki>[[west]], [[false]]] [[call]] [[BIS_fnc_getRespawnMarkers]];</code> | ||
| [[:Category:Function Group: Respawn|Respawn Functions]] | | [[:Category:Function Group: Respawn|Respawn Functions]] | ||
}} | }} | ||
Revision as of 23:04, 17 January 2021
Description
Syntax
- Syntax:
- [side,vehicleMarkers] call BIS_fnc_getRespawnMarkers
- Parameters:
- side: Side - (Optional, default
player call BIS_fnc_objectSide
) side to which returned markers belong to - vehicleMarkers: Boolean - (Optional, default false) true to return vehicle respawn markers, false to return units respawn markers
- Return Value:
- Array of Strings - Respawn markers of given side
Examples
- Example 1:
[west, false] call BIS_fnc_getRespawnMarkers;
Additional Information
- See also:
- Respawn Functions
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