setPylonsPriority: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(addPylonsPriority)
 
m (Some wiki formatting)
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


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


|1.70|= Game Version
|gr1= Vehicle Loadouts


____________________________________________________________________________________________
|descr= Overrides default pylons priorities.


| Overrides default pylons priorities  
|s1= vehicle [[setPylonsPriority]] priorities
{{warning|This command is not final and might be changed in a near future.}}|= Description
____________________________________________________________________________________________


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


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


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


| [[Nothing]] |= Return Value
|x1= <sqf>(vehicle player) setPylonsPriority [0,1,2,3,4,5,5,4,3,2,1,0];</sqf>
 
____________________________________________________________________________________________
 
|x1= (vehicle player) setPylonsPriority [0,1,2,3,4,5,5,4,3,2,1,0];|= Example 1
____________________________________________________________________________________________
 
|  |= See Also


|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:Scripting Commands Arma 3|{{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