BIS fnc sideColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
||
Line 9: | Line 9: | ||
| [side, returnString] call [[BIS_fnc_sideColor]]; | | [side, returnString] call [[BIS_fnc_sideColor]]; | ||
| [[Array]] or [[String]] - Colour in RGBA or colour name | |s1= [[Array]] or [[String]] - Colour in RGBA or colour name | ||
|p1= side: [[Side]] | |p1= side: [[Side]] |
Revision as of 22:44, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Sides
Syntax
- Syntax:
- Array or String - Colour in RGBA or colour name
- Parameters:
- side: Side
- returnString: Boolean - (Optional, default false) wanted output: false: [R,G,B,A], true: "ColourName"
- Return Value:
- Return value needed
Examples
- Example 1:
[blufor, false] call BIS_fnc_sideColor; // Returns [0,0.3,0.6,1]
- Example 2:
[blufor, true] call BIS_fnc_sideColor; // Returns "ColorWEST"
Additional Information
- See also:
- sideArma 3 CfgMarkerColors
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