setAmmoCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETAMMOCARGO]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETAMMOCARGO]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETAMMOCARGO]]
[[Category:Scripting Commands ArmA|SETAMMOCARGO]]


| ofp |= Game name


<h2 style="color:#000066">'''''vehicle'' setAmmoCargo ''amount'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Set amount or ammo resources in cargo space of rearm vehicle. Ammo resource is used to resupply vehicles that take ammo. Soldiers use individual magazines instead. Amount: 1 is full cargo. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| vehicle '''setAmmoCargo''' amount |= Syntax


'''vehicle:''' [[Object]]
|p1= vehicle: [[Object]] |= Parameter 1


'''amount:''' [[Number]]
|p2= amount: [[Number]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Set '''amount''' or ammo resources in cargo space of rearm '''vehicle'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Ammo resource is used to resupply vehicles that take ammo.
<!-- Note Section END -->
</dl>


Soldiers use individual magazines instead.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETAMMOCARGO]]
'''Amount:''' 1 is full cargo.
[[Category:Scripting Commands OFP 1.96|SETAMMOCARGO]]
[[Category:Scripting Commands OFP 1.46|SETAMMOCARGO]]
[[Category:Scripting Commands ArmA|SETAMMOCARGO]]

Revision as of 00:03, 2 August 2006

Hover & click on the images for description

Description

Description:
Set amount or ammo resources in cargo space of rearm vehicle. Ammo resource is used to resupply vehicles that take ammo. Soldiers use individual magazines instead. Amount: 1 is full cargo.
Groups:
Uncategorised

Syntax

Syntax:
vehicle setAmmoCargo amount
Parameters:
vehicle: Object
amount: Number
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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