BIS fnc changeColorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (page filled)
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= local-->


| <pre>/*
|eff= global
Author: Riccardo Argiolas


Description:
|descr= Makes the marker go from its original color to a specified color over time
Makes the marker go from its original color to a specified color over time


Parameters:
|s1= [marker, color, duration] spawn [[BIS_fnc_changeColorMarker]]
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
["BIS_marker","ColorRed"] spawn BIS_fnc_changeColorMarker;


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


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


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


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


|x1= <code></code>|Example 1=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]]


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



Revision as of 12:28, 9 January 2020

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:
Uncategorised

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