setPylonsPriority: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Vehicle Loadouts |GROUP1=
|gr1= Vehicle Loadouts |GROUP1=
____________________________________________________________________________________________


| Overrides default pylons priorities |DESCRIPTION=
| Overrides default pylons priorities |DESCRIPTION=
____________________________________________________________________________________________


| vehicle '''setPylonsPriority''' [priority pylon1, priority pylon2, ...] |SYNTAX=
| vehicle '''setPylonsPriority''' [priority pylon1, priority pylon2, ...] |SYNTAX=
Line 20: Line 17:
| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=


____________________________________________________________________________________________


|x1= <code>([[vehicle]] [[player]]) [[setPylonsPriority]] [0,1,2,3,4,5,5,4,3,2,1,0];</code>|EXAMPLE1=
|x1= <code>([[vehicle]] [[player]]) [[setPylonsPriority]] [0,1,2,3,4,5,5,4,3,2,1,0];</code>|EXAMPLE1=
____________________________________________________________________________________________


| [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[getPylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonLoadout]] |SEEALSO=
| [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[getPylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonLoadout]] |SEEALSO=

Revision as of 02:32, 17 January 2021

Hover & click on the images for description

Description

Description:
Overrides default pylons priorities
Groups:
Vehicle Loadouts

Syntax

Syntax:
vehicle setPylonsPriority [priority pylon1, priority pylon2, ...]
Parameters:
vehicle: Object
[priority pylon 1, priority pylon 2,..., priority pylon n] : Array
Return Value:
Nothing

Examples

Example 1:
(vehicle player) setPylonsPriority [0,1,2,3,4,5,5,4,3,2,1,0];

Additional Information

See also:
Arma 3 Vehicle LoadoutsgetCompatiblePylonMagazinesgetPylonMagazinessetAmmoOnPylonammoOnPylonanimatePylonanimateBaysetPylonLoadout

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