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 (Some wiki formatting)
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
Line 23: Line 20:
|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

Revision as of 17:34, 13 July 2022

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