BIS fnc dataTerminalColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
Lou Montana (talk | contribs) m (Add BIS_fnc_DataTerminalAnimate reference) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set Data Terminal colors. |= Description | | Set Data Terminal colors for its different steps. Steps are: | ||
# closed terminal | |||
# opening terminal | |||
# emitting terminal. | |||
Default step colors are "blue", "orange", "green". | |||
See [[BIS_fnc_DataTerminalAnimate]] to animate a terminal. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [dataTerminal, | | [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_DataTerminalColor]] |= Syntax | ||
|p1= dataTerminal: [[Object]] |= Parameter 1 | |p1= dataTerminal: [[Object]] |= Parameter 1 | ||
|p2= | |p2= step1color: [[String]] - step 1 color. Can be one of: | ||
* "blue" | * "blue" | ||
* "orange" | * "orange" | ||
Line 24: | Line 30: | ||
If not set, the selection color will simply not be changed. |= Parameter 2 | If not set, the selection color will simply not be changed. |= Parameter 2 | ||
|p3= | |p3= step2color: [[String]] - step 2 color |= Parameter 3 | ||
|p4= | |p4= step3color: [[String]] - step 3 color |= Parameter 4 | ||
| [[Boolean]] [[false]] if data terminal is null, [[true]] if | | [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 34: | Line 40: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[MP End Game|End Game (MP mode)]] |= See also | | [[MP End Game|End Game (MP mode)]], [[BIS_fnc_DataTerminalAnimate]] |= See also | ||
}} | }} | ||
Revision as of 23:12, 24 April 2018
Description
- Description:
- Set Data Terminal colors for its different steps. Steps are:
- closed terminal
- opening terminal
- emitting 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"
- 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