BIS fnc dataTerminalColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add BIS_fnc_DataTerminalAnimate reference)
m (template:command argument fix)
Line 14: 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=


|p1= dataTerminal: [[Object]] |= Parameter 1
|p1= dataTerminal: [[Object]] |= Parameter 1
Line 34: Line 34:
|p4= step3color: [[String]] - step 3 color |= Parameter 4
|p4= step3color: [[String]] - step 3 color |= Parameter 4


| [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly |= Return value
| [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 40: Line 40:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] |= See also
| [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] |SEEALSO=
}}
}}



Revision as of 11:27, 7 April 2019


Hover & click on the images for description

Description

Description:
Set Data Terminal colors for its different steps. Steps are:
  1. closed terminal
  2. opening terminal
  3. emitting terminal.
Default step colors are "blue", "orange", "green". See BIS_fnc_DataTerminalAnimate to animate a 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"
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

Notes

Bottom Section