Difference between revisions of "setVehicleAmmo"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
− | + | {{Command|= Comments | |
− | + | ____________________________________________________________________________________________ | |
− | |||
+ | | arma |= Game name | ||
− | + | |2.32|= Game version | |
+ | ____________________________________________________________________________________________ | ||
+ | | Sets how much ammunition (compared to a full state defined by the vehicle type) the vehicle has. The value ranges from 0 to 1. |= Description | ||
+ | ____________________________________________________________________________________________ | ||
− | ''' | + | | object '''setVehicleAmmo''' value |= Syntax |
− | + | |p1= object: [[Object]] |= Parameter 1 | |
− | + | |p2= value: [[Number]] |= Parameter 2 | |
− | + | | [[Nothing]] |= Return value | |
+ | ____________________________________________________________________________________________ | ||
+ | |||
+ | |x1= <pre>player setVehicleAmmo 0</pre> |= Example 1 | ||
+ | ____________________________________________________________________________________________ | ||
− | + | | |= See also | |
− | + | }} | |
− | + | <h3 style="display:none">Notes</h3> | |
+ | <dl class="command_description"> | ||
+ | <!-- Note Section BEGIN --> | ||
− | + | <!-- Note Section END --> | |
+ | </dl> | ||
− | + | <h3 style="display:none">Bottom Section</h3> | |
− | + | [[Category:Scripting Commands|SETVEHICLEAMMO]] | |
− | + | [[Category:Scripting Commands OFP Elite |SETVEHICLEAMMO]] | |
− | + | [[Category:Scripting Commands ArmA|SETVEHICLEAMMO]] | |
− | |||
− | |||
− | |||
− |
Revision as of 23:35, 1 August 2006
Hover & click on the images for descriptions
Description
- Description:
- Sets how much ammunition (compared to a full state defined by the vehicle type) the vehicle has. The value ranges from 0 to 1.
Syntax
Examples
- Example 1:
-
player setVehicleAmmo 0
Additional Information
- See also:
- See also needed
- Groups:
- Uncategorised