BIS fnc blinkMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add example and see also)
m (Some wiki formatting)
 
(19 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


| Makes given marker blink. |Description=
|descr= Makes given marker blink.


 
|s1= [marker, blinkDuration, blinkAmount] spawn [[BIS_fnc_blinkMarker]]
| [marker, blinkDuration, blinkAmount] spawn [[BIS_fnc_blinkMarker]] |Syntax=


|p1= marker: [[String]] - marker's name
|p1= marker: [[String]] - marker's name
Line 16: Line 16:
|p3= blinkAmount: [[Number]] - (Optional, default 2) quantity of blinks
|p3= blinkAmount: [[Number]] - (Optional, default 2) quantity of blinks


|r1= [[Nothing]] |Return value=
|r1= [[Nothing]]


|x1= <code>["BIS_marker", 3, 10] [[spawn]] [[BIS_fnc_blinkMarker]]; {{cc|blinks '''10''' times using '''3''' seconds intervals}}</code>
|x1= <sqf>["BIS_marker", 3, 10] spawn BIS_fnc_blinkMarker; // blinks 10 times using 3 seconds intervals</sqf>


|x2= <code>["BIS_marker"] [[spawn]] [[BIS_fnc_blinkMarker]]; {{cc|keeps blinking}}</code>
|x2= <sqf>["BIS_marker"] spawn BIS_fnc_blinkMarker; // keeps blinking</sqf>


|exec= spawn |Execution=
|exec= spawn


|seealso= [[setMarkerAlpha]]
|seealso= [[setMarkerAlpha]]
}}
}}
[[Category:Function Group: Map|{{uc:blinkMarker}}]]
[[Category:Functions|{{uc:blinkMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:blinkMarker}}]]

Latest revision as of 17:51, 21 May 2023

Hover & click on the images for description

Description

Description:
Makes given marker blink.
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[marker, blinkDuration, blinkAmount] spawn BIS_fnc_blinkMarker
Parameters:
marker: String - marker's name
blinkDuration: Number - (Optional, default 1) a blink's time
blinkAmount: Number - (Optional, default 2) quantity of blinks
Return Value:
Nothing

Examples

Example 1:
["BIS_marker", 3, 10] spawn BIS_fnc_blinkMarker; // blinks 10 times using 3 seconds intervals
Example 2:
["BIS_marker"] spawn BIS_fnc_blinkMarker; // keeps blinking

Additional Information

See also:
setMarkerAlpha

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