BIS fnc getRespawnMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
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|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= Respawn |GROUP1=
|gr1= Respawn


| Returns all respawn markers for given side. |Description=
| Returns all respawn markers for given side.


| [side,vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] |Syntax=
| [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 |Parameter 1=
|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 |Parameter 2=
|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 |Return value=
| [[Array]] of [[String|Strings]] - Respawn markers of given side


|x1= <code><nowiki>[</nowiki>[[west]], [[false]]] [[call]] [[BIS_fnc_getRespawnMarkers]];</code> |Example 1=
|x1= <code><nowiki>[</nowiki>[[west]], [[false]]] [[call]] [[BIS_fnc_getRespawnMarkers]];</code>




| [[:Category:Function Group: Respawn|Respawn Functions]] |See also=
| [[:Category:Function Group: Respawn|Respawn Functions]]
}}
}}



Revision as of 23:04, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns all respawn markers for given side.
Execution:
call
Groups:
Respawn

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


Bottom Section