BIS fnc changeColorMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments | arma3 |Game name= |1.78|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author: R...")
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.78


|1.78|Game version=
|gr1= Map and Markers


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


<!---|eff= local |Multiplayer Effects=--->
|descr= Makes the marker go from its original color to a specified color over time


| <pre>/*
|s1= [marker, color, duration] spawn [[BIS_fnc_changeColorMarker]]
Author: Riccardo Argiolas


Description:
|p1= marker: [[String]] - marker
Makes the marker go from its original color to a specified color over time


Parameters:
|p2= color: [[String]] - color from CfgMarkerColors
Select 0 - STRING: Marker
Select 1 - STRING: Color
Select 2 (OPTIONAL) - NUMBER: Duration of transition, default is 1


Returns:
|p3= duration: [[Number]] - (Optional, default 1) duration of transition in seconds
Nothing


Example:
|r1= [[Nothing]]
["BIS_marker","ColorRed"] spawn BIS_fnc_changeColorMarker;


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


params
|exec= spawn
[
["_marker","",[""]],
[</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=


|[] call [[BIS_fnc_changeColorMarker]]|Syntax=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]]
 
|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:changeColorMarker}}]]
[[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