BIS fnc colorMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2") |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.78 | |version1= 1.78 | ||
Line 15: | Line 14: | ||
|s1= [marker, color, duration] spawn [[BIS_fnc_colorMarker]] | |s1= [marker, color, duration] spawn [[BIS_fnc_colorMarker]] | ||
|p1= marker: [[String]] - | |p1= marker: [[String]] - marker | ||
|p2= color: [[String]] - | |p2= color: [[String]] - color from CfgMarkerColors | ||
|p3= duration: [[Number]] - (Optional, default 1) | |p3= duration: [[Number]] - (Optional, default 1) duration of the transition | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["BIS_marker","ColorRed",2] spawn BIS_fnc_colorMarker;</sqf> | ||
|exec= spawn | |exec= spawn | ||
Line 29: | Line 28: | ||
|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]] | ||
}} | }} | ||
Latest revision as of 16:39, 8 November 2023
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:
Additional Information
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