BIS fnc showMarkerArray: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (Some wiki formatting)
 
(15 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= Unhide the markers sequentially.
Author: ZoZo, modified by Riccardo Argiolas


Description:
|s1= [marker, duration, hideAfter] spawn [[BIS_fnc_showMarkerArray]]
  Unhide the markers sequentially


Parameters:
|p1= marker: [[Array]] - [[Array]] of [[String]]s markers
Select 0 - ARRAY: Markers array
Select 1 - NUMBER: Duration of whole sequence
Select 2 - BOOL: Keep markers displayed or hide them after showing


Returns:
|p2= duration: [[Number]] - (Optional, default 1) duration
Nothing


Example:
|p3= hideAfter: [[Boolean]] - (Optional, default [[true]]) [[true]] to keep markers displayed, [[false]] to hide them again afterward
_xHandle = [BIS_alphaMovementArray, 3.0, false] spawn BIS_fnc_showMarkers;  //shows sequentially markers from the BIS_alphaMovementArray for 3 seconds and markers disappear after a while


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


|[] call [[BIS_fnc_showMarkerArray]]|Syntax=
|x1= <sqf>[["marker_1","marker_2","marker_n"], 3, false] spawn BIS_fnc_showMarkers;</sqf>


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


|Datatype - description|Return value=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]] [[BIS_fnc_moveMarker]] [[BIS_fnc_showMarker]]
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:showMarkerArray}}]]
[[Category:Functions|{{uc:showMarkerArray}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:showMarkerArray}}]]

Latest revision as of 16:43, 13 July 2022

Hover & click on the images for description

Description

Description:
Unhide the markers sequentially.
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[marker, duration, hideAfter] spawn BIS_fnc_showMarkerArray
Parameters:
marker: Array - Array of Strings markers
duration: Number - (Optional, default 1) duration
hideAfter: Boolean - (Optional, default true) true to keep markers displayed, false to hide them again afterward
Return Value:
Nothing

Examples

Example 1:
[["marker_1","marker_2","marker_n"], 3, false] spawn BIS_fnc_showMarkers;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_colorMarker BIS_fnc_moveMarker BIS_fnc_showMarker

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