BIS fnc getRespawnMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
(Fix description and see also)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return formatted texts of a CfgHints hint. |Description=
| Returns all respawn markers for given side. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [side,vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] |Syntax=
| [side,vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] |Syntax=


|p1= side: [[Side]] - 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 |Parameter 1=


|p2= vehicleMarkers: [[Boolean]] - [[True]] to return vehicle respawn markers |Parameter 2=
|p2= vehicleMarkers: [[Boolean]] - (Optional, default [[false]]) [[true]] to return vehicle respawn markers, [[false]] to return units respawn markers |Parameter 2=




| [[Array]] - Respawn markers of given side |Return value=
| [[Array]] of [[String|Strings]] - Respawn markers of given side |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 36: Line 36:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:getRespawnMarkers}}]]
[[Category:Function Group: Respawn|{{uc:getRespawnMarkers}}]]
[[Category:Function Group: Respawn|{{uc:getRespawnMarkers}}]]
[[Category:Functions|{{uc:getRespawnMarkers}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getRespawnMarkers}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getRespawnMarkers}}]]

Revision as of 20:11, 1 August 2018

Hover & click on the images for description

Description

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

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


Notes

Bottom Section