BIS fnc getRespawnMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Respawn


|1.00|= Game version
|descr= Returns all respawn markers for given side.
____________________________________________________________________________________________


| <pre>/*
|s1= [side, vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]]


Description:
|p1= side: [[Side]] - (Optional, default <sqf inline>player call BIS_fnc_objectSide</sqf>) side to which returned markers belong to
Return all respawn markers


Parameter(s):
|p2= vehicleMarkers: [[Boolean]] - (Optional, default [[false]]) [[true]] to return vehicle respawn markers, [[false]] to return units respawn markers
0: SIDE - side to which markers belongs to
1: BOOL - true to return vehicle respawn markers


Returns:
|r1= [[Array]] of [[String]]s - respawn markers of given side
ARRAY
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>[west, false] call BIS_fnc_getRespawnMarkers;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_getRespawnMarkers]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[:Category:Function Group: Respawn|Respawn Functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:getRespawnMarkers}}]]
[[Category:Functions|{{uc:getRespawnMarkers}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getRespawnMarkers}}]]

Latest revision as of 16:47, 8 November 2023

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