BIS fnc hideMarkerArray: Difference between revisions

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


| arma3 |Game name=
|game1= arma3
|version1= 1.78


|1.78|Game version=
|gr1= Map and Markers


<!---|arg= local |Multiplayer Arguments=--->
|arg= global


<!---|eff= local |Multiplayer Effects=--->
|eff= global


| <pre>/*
|descr= Hides a list of markers one by one.
Author: ZoZo, modified by Riccardo Argiolas


Description:
|s1= [markerArray, duration] spawn [[BIS_fnc_hideMarkerArray]]
  Hide the markers sequentially


Parameters:
|p1= markerArray: [[Array]] of [[String]]s - array of marker names
Select 0 - ARRAY: Markers array
Select 1 - NUMBER: Duration of whole sequence


Returns:
|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
Nothing


*/
|r1= [[Nothing]]
</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


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


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|exec= spawn


|Datatype - description|Return value=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]] [[BIS_fnc_colorMarker]]
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:hideMarkerArray}}]]
[[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