BIS fnc blinkMarker: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.78 | |1.78 | ||
|gr1 = Map and Markers | |gr1 = Map and Markers | ||
| Makes given marker blink. | | Makes given marker blink. | ||
| [marker, blinkDuration, blinkAmount] spawn [[BIS_fnc_blinkMarker]] | | [marker, blinkDuration, blinkAmount] spawn [[BIS_fnc_blinkMarker]] | ||
|p1= marker: [[String]] - marker's name | |p1= marker: [[String]] - marker's name | ||
Line 18: | Line 18: | ||
|p3= blinkAmount: [[Number]] - (Optional, default 2) quantity of blinks | |p3= blinkAmount: [[Number]] - (Optional, default 2) quantity of blinks | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>["BIS_marker", 3, 10] [[spawn]] [[BIS_fnc_blinkMarker]]; {{cc|blinks '''10''' times using '''3''' seconds intervals}}</code> | |x1= <code>["BIS_marker", 3, 10] [[spawn]] [[BIS_fnc_blinkMarker]]; {{cc|blinks '''10''' times using '''3''' seconds intervals}}</code> |
Revision as of 22:38, 17 January 2021
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