ammoOnPylon: Difference between revisions
Jump to navigation
Jump to search
(Add ammoOnPylon) |
mNo edit summary |
||
Line 17: | Line 17: | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |p1= vehicle: [[Object]] |= Parameter 1 | ||
|p2= pylon name/index : [[String]] or [[ | |p2= pylon name/index : [[String]] or [[Number]] |= Parameter 2 | ||
| [[ | | [[Number]] or [[Bool]] |= Return Value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 26: | Line 26: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setAmmoOnPylon]] |= See Also | | [[setAmmoOnPylon]] [[getPylonMagazines]] |= See Also | ||
}} | }} |
Revision as of 21:42, 12 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
[[Category:Introduced with arma3dev version 1.70]][[ Category: arma3dev: New Scripting Commands | AMMOONPYLON]][[ Category: arma3dev: Scripting Commands | AMMOONPYLON]]