BIS fnc changeColorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )D([a-z])" to "$1d$3")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
Line 14: Line 14:
|p1= marker: [[String]] - Marker
|p1= marker: [[String]] - Marker


|p2= color: [[String]] - Color from CfgMarkerColors
|p2= color: [[String]] - color from CfgMarkerColors


|p3= duration: [[Number]] - (Optional, default 1) duration of transition in seconds
|p3= duration: [[Number]] - (Optional, default 1) duration of transition in seconds

Revision as of 15:00, 8 November 2023

Hover & click on the images for description

Description

Description:
Makes the marker go from its original color to a specified color over time
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[marker, color, duration] spawn BIS_fnc_changeColorMarker
Parameters:
marker: String - Marker
color: String - color from CfgMarkerColors
duration: Number - (Optional, default 1) duration of transition in seconds
Return Value:
Nothing

Examples

Example 1:
["BIS_marker","ColorRed"] spawn BIS_fnc_changeColorMarker;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_colorMarker

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