BIS fnc blinkMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
(Add example and see also)
Line 5: Line 5:
|1.78|Game version=
|1.78|Game version=


<!---|arg= local |Multiplayer Arguments=--->
| Makes given marker blink. |Description=


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


| <pre>/*
| [marker, blinkDuration, blinkAmount] spawn [[BIS_fnc_blinkMarker]] |Syntax=
Author: ZoZo


Description:
|p1= marker: [[String]] - marker's name
  It makes the marker blinking.


Parameters:
|p2= blinkDuration: [[Number]] - (Optional, default 1) a blink's time
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:
|p3= blinkAmount: [[Number]] - (Optional, default 2) quantity of blinks
Nothing, just changes the status of the marker as "Shown"


Examples:
|r1= [[Nothing]] |Return value=
_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=
|x1= <code>["BIS_marker", 3, 10] [[spawn]] [[BIS_fnc_blinkMarker]]; {{cc|blinks '''10''' times using '''3''' seconds intervals}}</code>


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


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


|Datatype - description|Return value=
|seealso= [[setMarkerAlpha]]
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}



Revision as of 00:54, 6 January 2020

Hover & click on the images for description

Description

Description:
Makes given marker blink.
Execution:
spawn
Groups:
Uncategorised

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