BIS fnc dataTerminalColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Page filling)
Line 5: Line 5:
| arma3 |= Game name
| arma3 |= Game name


|1.00|= Game version
|1.42|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= Description
| Set Data Terminal colors. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_DataTerminalColor]]; --> |= Syntax
| [dataTerminal, color1, color2, color3] call [[BIS_fnc_DataTerminalColor]] |= Syntax
|p1= |= Parameter 1


| |= Return value
|p1= dataTerminal: [[Object]] |= Parameter 1
 
|p2= color1: [[String]] - selection 2 color. Can be one of:
* "blue"
* "orange"
* "green"
* "red"
* "purple"
 
If not set, the selection color will simply not be changed. |= Parameter 2
 
|p3= color2: [[String]] - selection 3 color |= Parameter 3
 
|p4= color3: [[String]] - selection 4 color |= Parameter 4
 
| [[Boolean]] [[false]] if data terminal is null, [[true]] if color has been set |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>[myTerminal, "purple", "red", "orange"] [[call]] [[BIS_fnc_DataTerminalColor]];</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 35: Line 48:
[[Category:Functions|{{uc:DataTerminalColor}}]]
[[Category:Functions|{{uc:DataTerminalColor}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:DataTerminalColor}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:DataTerminalColor}}]]
I only know these three colors possible
<br>
nameOBJ = Is the name you give to the terminal
<br>
<code>
[nameOBJ,"red","red","red"] call BIS_fnc_DataTerminalColor; // Changes the colour to red
<br>
[nameOBJ,"green","green","green"] call BIS_fnc_DataTerminalColor; // Changes the colour to green
<br>
[nameOBJ,"blue","blue","blue"] call BIS_fnc_DataTerminalColor; // Changes the colour to blue
</code>

Revision as of 23:59, 24 April 2018


Hover & click on the images for description

Description

Description:
Set Data Terminal colors.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[dataTerminal, color1, color2, color3] call BIS_fnc_DataTerminalColor
Parameters:
dataTerminal: Object
color1: String - selection 2 color. Can be one of:
  • "blue"
  • "orange"
  • "green"
  • "red"
  • "purple"
If not set, the selection color will simply not be changed.
color2: String - selection 3 color
color3: String - selection 4 color
Return Value:
Boolean false if data terminal is null, true if color has been set

Examples

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

Additional Information

See also:
End Game (MP mode)

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