setPylonsPriority: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
Line 8: Line 8:
|descr= Overrides default pylons priorities.
|descr= Overrides default pylons priorities.


|s1= vehicle [[setPylonsPriority]] [priority pylon1, priority pylon2, ...]
|s1= vehicle [[setPylonsPriority]] priorities


|p1= vehicle: [[Object]]
|p1= vehicle: [[Object]]


|p2= [priority pylon 1, priority pylon 2,..., priority pylon n] : [[Array]]
|p2= priorities: [[Array]] of [[Number]]s


|r1= [[Nothing]]
|r1= [[Nothing]]


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


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

Latest revision as of 21:51, 7 May 2022

Hover & click on the images for description

Description

Description:
Overrides default pylons priorities.
Groups:
Vehicle Loadouts

Syntax

Syntax:
vehicle setPylonsPriority priorities
Parameters:
vehicle: Object
priorities: Array of Numbers
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 Loadouts getCompatiblePylonMagazines getPylonMagazines setAmmoOnPylon ammoOnPylon animatePylon animateBay setPylonLoadout

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