BIS fnc hideMarkerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )D([a-z])" to "$1d$3")
 
(One intermediate revision by the same user not shown)
Line 14: 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

Latest revision as of 13: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