BIS fnc colorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])=([^ ]+) * \|version([0-9])=([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "<code> *(\^+\]) +\[\[spawn\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 spawn $2;</sqf>")
Line 22: Line 22:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>["BIS_marker","ColorRed",2] [[spawn]] [[BIS_fnc_colorMarker]];</code>
|x1= <sqf>["BIS_marker","ColorRed",2] spawn BIS_fnc_colorMarker;</sqf>


|exec= spawn
|exec= spawn

Revision as of 20:04, 5 May 2022

Hover & click on the images for description

Description

Description:
Changes color of a marker with a little effect
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[marker, color, duration] spawn BIS_fnc_colorMarker
Parameters:
marker: String - Marker
color: String - Color from CfgMarkerColors
duration: Number - (Optional, default 1) Duration of the transition
Return Value:
Nothing

Examples

Example 1:
["BIS_marker","ColorRed",2] spawn BIS_fnc_colorMarker;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_changeColorMarker BIS_fnc_getMarkers BIS_fnc_getMarkerState

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