animatePylon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 13: Line 13:
| vehicle '''animatePylon''' [pylon name/index, anim phase] |SYNTAX=
| vehicle '''animatePylon''' [pylon name/index, anim phase] |SYNTAX=


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |PARAMETER1=


|p2= [pylon name/index, anim phase (0-1)] : [[Array]] |= Parameter 2
|p2= [pylon name/index, anim phase (0-1)] : [[Array]] |PARAMETER2=


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>([[vehicle]] [[player]]) '''animatePylon''' [1, 0.5];</code>|= Example 1
|x1= <code>([[vehicle]] [[player]]) '''animatePylon''' [1, 0.5];</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:28, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
(vehicle player) animatePylon [1, 0.5];

Additional Information

See also:
Arma 3 Vehicle LoadoutsgetCompatiblePylonMagazinesgetPylonMagazinessetAmmoOnPylonanimateBaysetPylonsPrioritysetPylonLoadOut

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