BIS fnc getRespawnMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " {3,}\|" to " |")
Line 14: Line 14:


|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 22:43, 18 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