BIS fnc dataTerminalColor: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 19: | Line 19: | ||
| [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] |SYNTAX= | | [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] |SYNTAX= | ||
|p1= dataTerminal: [[Object]] |= | |p1= dataTerminal: [[Object]] |PARAMETER1= | ||
|p2= step1color: [[String]] - step 1 color. Can be one of: | |p2= step1color: [[String]] - step 1 color. Can be one of: | ||
Line 28: | Line 28: | ||
* "purple" | * "purple" | ||
If not set, the selection color will simply not be changed. |= | If not set, the selection color will simply not be changed. |PARAMETER2= | ||
|p3= step2color: [[String]] - step 2 color |= | |p3= step2color: [[String]] - step 2 color |PARAMETER3= | ||
|p4= step3color: [[String]] - step 3 color |= | |p4= step3color: [[String]] - step 3 color |PARAMETER4= | ||
| [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly |RETURNVALUE= | | [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> |= | |x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:29, 7 April 2019
Description
- Description:
- Set Data Terminal colors for its different steps. Steps are:
- closed terminal
- opening terminal
- emitting terminal.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [dataTerminal, step1color, step2color, step3color] call BIS_fnc_DataTerminalColor
- Parameters:
- dataTerminal: Object
- step1color: String - step 1 color. Can be one of:
- "blue"
- "orange"
- "green"
- "red"
- "purple"
- step2color: String - step 2 color
- step3color: String - step 3 color
- Return Value:
- Boolean - false if data terminal is null, true if the script ends properly
Examples
- Example 1:
[myTerminal, "purple", "red", "orange"] call BIS_fnc_DataTerminalColor;
Additional Information
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