animateBay: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> </dl>" to "")
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
Line 27: Line 27:
|x2= <code>[[vehicle]] [[player]] [[animateBay]] [1, 1, [[true]]];</code>
|x2= <code>[[vehicle]] [[player]] [[animateBay]] [1, 1, [[true]]];</code>


|seealso= [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[getPylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[setPylonsPriority]],[[setPylonLoadout]]
|seealso= [[Arma 3: Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[getPylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[setPylonsPriority]],[[setPylonLoadout]]
}}
}}

Revision as of 20:30, 7 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
AnimationsVehicle Loadouts

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
[bay, animphase, instant] : Array
bay: Number - bay index (index starts from 1 and different from pylon index)
animphase: Number - animation phase (0...1)
instant (Optional): Boolean - animate immediately
Return Value:
Return value needed

Examples

Example 1:
vehicle player animateBay [1, 0.5];
Example 2:
vehicle player animateBay [1, 1, true];

Additional Information

See also:
Arma 3: Vehicle LoadoutsgetCompatiblePylonMagazinesgetPylonMagazinessetAmmoOnPylonammoOnPylonanimatePylonsetPylonsPrioritysetPylonLoadout

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