BIS fnc colorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (filled page)
m (fixed execution method)
Line 13: Line 13:
|descr= Changes color of a marker with a little effect
|descr= Changes color of a marker with a little effect


|s1= [marker, color, duration] call [[BIS_fnc_colorMarker]]
|s1= [marker, color, duration] spawn [[BIS_fnc_colorMarker]]


|p1= marker: [[String]] - Marker
|p1= marker: [[String]] - Marker
Line 23: Line 23:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


|exec= call
|exec= spawn


|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]]
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]]

Revision as of 19:54, 6 January 2020

Hover & click on the images for description

Description

Description:
Changes color of a marker with a little effect
Execution:
spawn
Groups:
Uncategorised

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