BIS fnc dataTerminalColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=")
Line 15: Line 15:
See [[BIS_fnc_dataTerminalAnimate]] to animate a terminal.
See [[BIS_fnc_dataTerminalAnimate]] to animate a terminal.


| [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_dataTerminalColor]]
|s1=[dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_dataTerminalColor]]


|p1= dataTerminal: [[Object]]
|p1= dataTerminal: [[Object]]

Revision as of 20:31, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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"
If not set, the selection color will simply not be changed.
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

See also:
End Game (MP mode)BIS_fnc_dataTerminalAnimate

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