BIS fnc getRespawnMarkers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<nowiki>\[<\/nowiki>\[\[([a-zA-Z0-9_]+)\]\](.*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2") |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Returns all respawn markers for given side. | |descr= Returns all respawn markers for given side. | ||
|s1= [side,vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] | |s1= [side, vehicleMarkers] call [[BIS_fnc_getRespawnMarkers]] | ||
|p1= side: [[Side]] - (Optional, default | |p1= side: [[Side]] - (Optional, default <sqf inline>player call BIS_fnc_objectSide</sqf>) 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 | ||
|r1= [[Array]] of [[String]]s - | |r1= [[Array]] of [[String]]s - respawn markers of given side | ||
|x1= < | |x1= <sqf>[west, false] call BIS_fnc_getRespawnMarkers;</sqf> | ||
|seealso= [[:Category:Function Group: Respawn|Respawn Functions]] | |seealso= [[:Category:Function Group: Respawn|Respawn Functions]] | ||
}} | }} |
Latest revision as of 15:47, 8 November 2023
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:
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