ammoOnPylon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | arma3 |= Game name | ||
|1.70|= Game Version | |1.70|= Game Version | ||
Line 9: | Line 9: | ||
|Returns ammo count on given pylon. | |Returns ammo count on given pylon. | ||
Returns false ([[Bool]]) on failure. | Returns false ([[Bool]]) on failure.|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle ammoOnPylon (pylon name/index)|= Syntax | | vehicle '''ammoOnPylon''' (pylon name/index)|= Syntax | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |p1= vehicle: [[Object]] |= Parameter 1 | ||
Line 23: | Line 22: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= hint str ((vehicle player) ammoOnPylon "pylonCenter")|= Example 1 | |x1= hint str ((vehicle player) '''ammoOnPylon''' "pylonCenter")|= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 17:58, 16 May 2017
Description
- Description:
- Returns ammo count on given pylon. Returns false (Bool) on failure.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle ammoOnPylon (pylon name/index)
- Parameters:
- vehicle: Object
- pylon name/index : String or Number
- Return Value:
- Number or Bool
Examples
- Example 1:
- hint str ((vehicle player) ammoOnPylon "pylonCenter")
Additional Information
- See also:
- setAmmoOnPylon getPylonMagazines
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