BIS fnc hideMarkerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )D([a-z])" to "$1d$3")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.78
|version1= 1.78


Line 15: Line 14:
|s1= [markerArray, duration] spawn [[BIS_fnc_hideMarkerArray]]
|s1= [markerArray, duration] spawn [[BIS_fnc_hideMarkerArray]]


|p1= markerArray: [[Array]] - Array of markers<br>
|p1= markerArray: [[Array]] of [[String]]s - array of marker names
0: [[String]] - Marker_1<br>
1: [[String]] - Marker_2<br>
...


|p2= duration: [[Number]] - (Optional, default 1) Duration in seconds until all markers are hidden. If duration is 0 markers are hidden as fast as possible
|p2= duration: [[Number]] - (Optional, default 1) duration in seconds until all markers are hidden. If duration is 0 markers are hidden as fast as possible


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[<noWiki>[</noWiki>"BIS_marker_1","BIS_marker_2","BIS_marker_3"],5] [[spawn]] [[BIS_fnc_hideMarkerArray]];</code>
|x1= <sqf>[["BIS_marker_1", "BIS_marker_2", "BIS_marker_3"], 5] spawn BIS_fnc_hideMarkerArray;</sqf>


|exec= spawn
|exec= spawn
Line 30: Line 26:
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]
}}
}}
[[Category:Functions|{{uc:hideMarkerArray}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:hideMarkerArray}}]]

Latest revision as of 12:28, 8 November 2023

Hover & click on the images for description

Description

Description:
Hides a list of markers one by one.
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[markerArray, duration] spawn BIS_fnc_hideMarkerArray
Parameters:
markerArray: Array of Strings - array of marker names
duration: Number - (Optional, default 1) duration in seconds until all markers are hidden. If duration is 0 markers are hidden as fast as possible
Return Value:
Nothing

Examples

Example 1:
[["BIS_marker_1", "BIS_marker_2", "BIS_marker_3"], 5] spawn BIS_fnc_hideMarkerArray;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_changeColorMarker BIS_fnc_getMarkers BIS_fnc_getMarkerState BIS_fnc_colorMarker

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