BIS fnc dataTerminalColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
See [[BIS_fnc_dataTerminalAnimate]] to animate a terminal. | See [[BIS_fnc_dataTerminalAnimate]] to animate a terminal. | ||
|s1=[dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_dataTerminalColor]] | |s1= [dataTerminal, step1color, step2color, step3color] call [[BIS_fnc_dataTerminalColor]] | ||
|p1= dataTerminal: [[Object]] | |p1= dataTerminal: [[Object]] | ||
Line 33: | Line 33: | ||
|r1= [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly | |r1= [[Boolean]] - [[false]] if data terminal is null, [[true]] if the script ends properly | ||
|x1= < | |x1= <sqf>[myTerminal, "purple", "red", "orange"] call BIS_fnc_dataTerminalColor;</sqf> | ||
|seealso= [[MP End Game|End Game (MP mode)]] [[BIS_fnc_dataTerminalAnimate]] | |seealso= [[MP End Game|End Game (MP mode)]] [[BIS_fnc_dataTerminalAnimate]] | ||
}} | }} |
Latest revision as of 23:11, 12 July 2022
Description
- Description:
- Set Data Terminal colors for its different steps. Steps are:
- closed terminal
- opening terminal
- emitting terminal.
- 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"
- 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:
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