BIS fnc dataTerminalAnimate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - " |s1=[" to " |s1= [")
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.42


| arma3 |= Game name
|gr1= Scripts


|1.00|= Game version
|descr= Animate a Data Terminal ("Land_DataTerminal_01_F").
____________________________________________________________________________________________


| <pre>//--- A script function for animating "Land_DataTerminal_01_F"
|s1= [dataTerminal, step] call [[BIS_fnc_dataTerminalAnimate]]
//--- To open terminal: [box, 3] call BIS_fnc_DataTerminalAnimate
//--- To close terminal: [box, 0] call BIS_fnc_DataTerminalAnimate


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p1= dataTerminal: [[Object]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_DataTerminalAnimate]]; --> |= Syntax
|p2= step: [[Number]] - in range 0..3, steps being:
|p1= |= Parameter 1
* 0: closed terminal
* 1: case opened
* 2: antenna up (but closed)
* 3: antenna opened and transmitting.


| |= Return value
|r1= [[Nothing]]
____________________________________________________________________________________________


|x1= <code></code> |=
|x1= <sqf>[myTerminal, 3] call BIS_fnc_dataTerminalAnimate;</sqf>
____________________________________________________________________________________________
 
| |= See also


|seealso= [[MP End Game|End Game (MP mode)]] [[BIS_fnc_dataTerminalColor]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Scripts|{{uc:DataTerminalAnimate}}]]
[[Category:Functions|{{uc:DataTerminalAnimate}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:DataTerminalAnimate}}]]

Latest revision as of 23:11, 12 July 2022

Hover & click on the images for description

Description

Description:
Animate a Data Terminal ("Land_DataTerminal_01_F").
Execution:
call
Groups:
Scripts

Syntax

Syntax:
[dataTerminal, step] call BIS_fnc_dataTerminalAnimate
Parameters:
dataTerminal: Object
step: Number - in range 0..3, steps being:
  • 0: closed terminal
  • 1: case opened
  • 2: antenna up (but closed)
  • 3: antenna opened and transmitting.
Return Value:
Nothing

Examples

Example 1:
[myTerminal, 3] call BIS_fnc_dataTerminalAnimate;

Additional Information

See also:
End Game (MP mode) BIS_fnc_dataTerminalColor

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