BIS fnc changeColorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.78
|version1= 1.78


|gr1= Map and Markers
|gr1= Map and Markers
<!--|arg= local-->


|eff= global
|eff= global
Line 15: Line 12:
|s1= [marker, color, duration] spawn [[BIS_fnc_changeColorMarker]]
|s1= [marker, color, duration] spawn [[BIS_fnc_changeColorMarker]]


|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


|r1= [[Nothing]]
|r1= [[Nothing]]


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


|exec= spawn
|exec= spawn


|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]]
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]]
}}
}}
[[Category:Functions|{{uc:changeColorMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:changeColorMarker}}]]

Latest revision as of 16:39, 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