BIS fnc colorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (filled page)
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.78|Game version=
|version1= 1.78


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
|arg= global


| <pre>/*
|eff= global
Author:
BIS, modified by Riccardo Argiolas


Description:
|descr= Changes color of a marker with a little effect
Changes color of a marker with a little effect


Parameters:
|s1= [marker, color, duration] call [[BIS_fnc_colorMarker]]
Select 0 - STRING: Marker
Select 1 - STRING: Color
Select 2 (OPTIONAL) - NUMBER: Duration of transition, default is 1


Returns:
|p1= marker: [[String]] - Marker
Nothing


Example:
|p2= color: [[String]] - Color from CfgMarkerColors
_color = ["BIS_marker","ColorRed"] spawn BIS_fnc_colorMarker;


*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
|p3= duration: [[Number]] - (Optional, default 1) Duration of the transition


|[] call [[BIS_fnc_colorMarker]]|Syntax=
|r1= [[Nothing]]


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|x1= <code>["BIS_marker","ColorRed",2] [[call]] [[BIS_fnc_colorMarker]];</code>


|Datatype - description|Return value=
|exec= call


|x1= <code></code>|Example 1=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_changeColorMarker]] [[BIS_fnc_getMarkers]] [[BIS_fnc_getMarkerState]]


|exec= call |Execution=
| |See also=
}}
}}



Revision as of 19:53, 6 January 2020

Hover & click on the images for description

Description

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

Syntax

Syntax:
[marker, color, duration] call 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] call 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