BIS fnc dataTerminalColor: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Scripts(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Scripts |GROUP1= | |gr1 = Scripts |GROUP1= | ||
| Set Data Terminal colors for its different steps. Steps are: | | Set Data Terminal colors for its different steps. Steps are: | ||
Line 16: | Line 14: | ||
Default step colors are "blue", "orange", "green". | Default step colors are "blue", "orange", "green". | ||
See [[BIS_fnc_DataTerminalAnimate]] to animate a terminal. |DESCRIPTION= | See [[BIS_fnc_DataTerminalAnimate]] to animate a terminal. |DESCRIPTION= | ||
| [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] |SYNTAX= | | [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] |SYNTAX= | ||
Line 36: | Line 33: | ||
| [[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> |EXAMPLE1= | |x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> |EXAMPLE1= | ||
| [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] |SEEALSO= | | [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] |SEEALSO= |
Revision as of 21:51, 16 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