BIS fnc dataTerminalColor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) (Page filling) |
||
Line 5: | Line 5: | ||
| arma3 |= Game name | | arma3 |= Game name | ||
|1. | |1.42|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Set Data Terminal colors. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [dataTerminal, color1, color2, color3] call [[BIS_fnc_DataTerminalColor]] |= Syntax | ||
| |= Return value | |p1= dataTerminal: [[Object]] |= Parameter 1 | ||
|p2= color1: [[String]] - selection 2 color. Can be one of: | |||
* "blue" | |||
* "orange" | |||
* "green" | |||
* "red" | |||
* "purple" | |||
If not set, the selection color will simply not be changed. |= Parameter 2 | |||
|p3= color2: [[String]] - selection 3 color |= Parameter 3 | |||
|p4= color3: [[String]] - selection 4 color |= Parameter 4 | |||
| [[Boolean]] [[false]] if data terminal is null, [[true]] if color has been set |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[MP End Game|End Game (MP mode)]] |= See also | ||
}} | }} | ||
Line 35: | Line 48: | ||
[[Category:Functions|{{uc:DataTerminalColor}}]] | [[Category:Functions|{{uc:DataTerminalColor}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:DataTerminalColor}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:DataTerminalColor}}]] | ||
Revision as of 22:59, 24 April 2018
Description
- Description:
- Set Data Terminal colors.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [dataTerminal, color1, color2, color3] call BIS_fnc_DataTerminalColor
- Parameters:
- dataTerminal: Object
- color1: String - selection 2 color. Can be one of:
- "blue"
- "orange"
- "green"
- "red"
- "purple"
- color2: String - selection 3 color
- color3: String - selection 4 color
- Return Value:
- Boolean false if data terminal is null, true if color has been set
Examples
- Example 1:
[myTerminal, "purple", "red", "orange"] call BIS_fnc_DataTerminalColor;
Additional Information
- See also:
- End Game (MP mode)
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