BIS fnc blinkMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (Some wiki formatting)
 
(20 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=--->
|descr= Makes given marker blink.


<!---|eff= local |Multiplayer Effects=--->
|s1= [marker, blinkDuration, blinkAmount] spawn [[BIS_fnc_blinkMarker]]


| <pre>/*
|p1= marker: [[String]] - marker's name
Author: ZoZo


Description:
|p2= blinkDuration: [[Number]] - (Optional, default 1) a blink's time
  It makes the marker blinking.


Parameters:
|p3= blinkAmount: [[Number]] - (Optional, default 2) quantity of blinks
Select 0 - STRING: Marker
Select 1 (OPTIONAL) - NUMBER: Duration of blinking, default is 1
Select 2 (OPTIONAL) - NUMBER: Number of blinks, default is 2


Returns:
|r1= [[Nothing]]
Nothing, just changes the status of the marker as "Shown"


Examples:
|x1= <sqf>["BIS_marker", 3, 10] spawn BIS_fnc_blinkMarker; // blinks 10 times using 3 seconds intervals</sqf>
_xHandle = ["BIS_marker", 3, 10] spawn BIS_fnc_blinkMarker   //blinks ten times using 3 seconds intervals
_xhandle = ["BIS_marker"] spawn BIS_fnc_blinkMarker


*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
|x2= <sqf>["BIS_marker"] spawn BIS_fnc_blinkMarker; // keeps blinking</sqf>


|[] call [[BIS_fnc_blinkMarker]]|Syntax=
|exec= spawn


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|seealso= [[setMarkerAlpha]]
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[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