setAmmoOnPylon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Add setAmmoOnPylon)
 
mNo edit summary
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3dev |= Game name
| arma3 |= Game name


|1.70|= Game Version
|1.70|= Game Version
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


|Set count of ammo in magazine on pylon
|Set count of ammo in magazine on pylon |= Description
{{warning|This command is not final and might be changed in a near future.}}|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle setAmmoOnPylon [pylon name/index, ammo count]|= Syntax
| vehicle '''setAmmoOnPylon''' [pylon name/index, ammo count] |= Syntax


|p1= vehicle: [[Object]] |= Parameter 1
|p1= vehicle: [[Object]] |= Parameter 1
Line 22: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= (vehicle player) setAmmoOnPylon [1, 12]|= Example 1
|x1= <code>([[vehicle]] [[player]]) [[setAmmoOnPylon]] [1, 12];</code>|= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 35: Line 34:


<h3 style="display:none">Bottom Section</h3>
<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 Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 20:03, 16 May 2017

Hover & click on the images for description

Description

Description:
Set count of ammo in magazine on pylon
Groups:
Uncategorised

Syntax

Syntax:
vehicle setAmmoOnPylon [pylon name/index, ammo count]
Parameters:
vehicle: Object
[pylon name/index, ammo count] : Array
Return Value:
Nothing

Examples

Example 1:
(vehicle player) setAmmoOnPylon [1, 12];

Additional Information

See also:
ammoOnPylon

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