BIS fnc dataTerminalColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.42 | |1.42 | ||
|gr1 = Scripts | |gr1 = Scripts | ||
| Set Data Terminal colors for its different steps. Steps are: | | Set Data Terminal colors for its different steps. Steps are: | ||
Line 13: | Line 13: | ||
Default step colors are "blue", "orange", "green". | Default step colors are "blue", "orange", "green". | ||
See [[BIS_fnc_DataTerminalAnimate]] to animate a terminal. | See [[BIS_fnc_DataTerminalAnimate]] to animate a terminal. | ||
| [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] | | [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] | ||
|p1= dataTerminal: [[Object]] | |p1= dataTerminal: [[Object]] | ||
|p2= step1color: [[String]] - step 1 color. Can be one of: | |p2= step1color: [[String]] - step 1 color. Can be one of: | ||
Line 26: | Line 26: | ||
* "purple" | * "purple" | ||
If not set, the selection color will simply not be changed. | If not set, the selection color will simply not be changed. | ||
|p3= step2color: [[String]] - step 2 color | |p3= step2color: [[String]] - step 2 color | ||
|p4= step3color: [[String]] - step 3 color | |p4= step3color: [[String]] - step 3 color | ||
| [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly | | [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly | ||
|x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> | |x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> | ||
| [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] | | [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] | ||
}} | }} | ||
Revision as of 22:08, 17 January 2021
Description
- Description:
- Set Data Terminal colors for its different steps. Steps are:
- closed terminal
- opening terminal
- emitting terminal.
- Execution:
- call
- Groups:
- Scripts
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