BIS fnc dataTerminalColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page BIS fnc DataTerminalColor to BIS fnc dataTerminalColor: Text replacement - "BIS fnc D" to "BIS fnc d")
m (Text replacement - "\[\[BIS[ _]fnc[ _]D" to "[[BIS_fnc_d")
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]]
Line 34: Line 34:
| [[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 23:56, 27 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Scripts

Syntax

Syntax:
Syntax needed
Parameters:
dataTerminal: Object
step1color: String - step 1 color. Can be one of:
  • "blue"
  • "orange"
  • "green"
  • "red"
  • "purple"
If not set, the selection color will simply not be changed.
step2color: String - step 2 color
step3color: String - step 3 color
Return Value:
Return value needed

Examples

Example 1:
[myTerminal, "purple", "red", "orange"] call BIS_fnc_dataTerminalColor;

Additional Information

See also:
See also needed

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