BIS fnc blinkMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.78|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author: Z...")
 
m (Some wiki formatting)
 
(23 intermediate revisions by 3 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>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |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 16: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