animateBay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add animateBay)
 
mNo edit summary
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
| arma3 |= Game name


|1.70|= Game Version
|1.70|= Game Version
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Force animation of bay to given state, -1 for reset to engine handling, can cause weapon inoperative, because weapon is released when bay state <nowiki>=</nowiki>1.
|Force animation of bay to given state, -1 for reset to engine handling, can cause weapon inoperative, because weapon is released when bay state <nowiki>=</nowiki>1.|= Description
{{warning|This command is not final and might be changed in a near future.}}|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle animateBay [pylon name/index, anim phase] |= Syntax
| vehicle '''animateBay''' [pylon name/index, anim phase] |= Syntax


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |= Parameter 1
Line 22: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= (vehicle player) animateBay ["pylonLeft1", 0.5]|= Example 1
|x1= (vehicle player) '''animateBay''' ["pylonLeft1", 0.5]|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 35: Line 34:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 19:02, 16 May 2017

Hover & click on the images for description

Description

Description:
Force animation of bay to given state, -1 for reset to engine handling, can cause weapon inoperative, because weapon is released when bay state =1.
Groups:
Uncategorised

Syntax

Syntax:
vehicle animateBay [pylon name/index, anim phase]
Parameters:
vehicle: Object
[pylon name/index, anim phase (0-1)] : Array
Return Value:
Nothing

Examples

Example 1:
(vehicle player) animateBay ["pylonLeft1", 0.5]

Additional Information

See also:
See also needed

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