setPylonsPriority: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.70


|1.70|Game Version=
|gr1= Vehicle Loadouts


____________________________________________________________________________________________
|descr= Overrides default pylons priorities.


| Overrides default pylons priorities |DESCRIPTION=
|s1= vehicle [[setPylonsPriority]] priorities
____________________________________________________________________________________________


| vehicle '''setPylonsPriority''' [priority pylon1, priority pylon2, ...] |SYNTAX=
|p1= vehicle: [[Object]]


|p1= vehicle: [[Object]] |PARAMETER1=
|p2= priorities: [[Array]] of [[Number]]s


|p2= [priority pylon 1, priority pylon 2,..., priority pylon n] : [[Array]] |PARAMETER2=
|r1= [[Nothing]]


| [[Nothing]] |RETURNVALUE=
|x1= <sqf>(vehicle player) setPylonsPriority [0,1,2,3,4,5,5,4,3,2,1,0];</sqf>
 
____________________________________________________________________________________________
 
|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=


|seealso= [[Arma 3: Vehicle Loadouts]] [[getCompatiblePylonMagazines]] [[getPylonMagazines]] [[setAmmoOnPylon]] [[ammoOnPylon]] [[animatePylon]] [[animateBay]] [[setPylonLoadout]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Vehicle Loadouts|{{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