setPylonsPriority: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Some wiki formatting)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.70
|1.70


|gr1= Vehicle Loadouts
|gr1= Vehicle Loadouts


| Overrides default pylons priorities
|descr= Overrides default pylons priorities.


| 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


| [[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>


| [[Arma 3 Vehicle Loadouts]],[[getCompatiblePylonMagazines]],[[getPylonMagazines]],[[setAmmoOnPylon]],[[ammoOnPylon]],[[animatePylon]],[[animateBay]],[[setPylonLoadout]]
|seealso= [[Arma 3: Vehicle Loadouts]] [[getCompatiblePylonMagazines]] [[getPylonMagazines]] [[setAmmoOnPylon]] [[ammoOnPylon]] [[animatePylon]] [[animateBay]] [[setPylonLoadout]]
}}
}}
<dl class="command_description">
</dl>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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