ammoOnPylon: Difference between revisions
Jump to navigation
Jump to search
m (fixed syntax notation) |
No edit summary |
||
Line 46: | Line 46: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on August 18, 2017 - 14:21 (UTC)</dd> | |||
<dt class="note">[[User:Commy2|Commy2]]</dt> | |||
<dd class="note"> | |||
The pylon indices start at 1 and not at 0. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 15:21, 18 August 2017
Description
- Description:
- Returns ammo count on given pylon. Returns false (Bool) on failure.
- Groups:
- Uncategorised
Syntax
- Syntax:
- vehicle ammoOnPylon pylon
- Parameters:
- vehicle: Object
- pylon: String or Number - The name or the index of the pylon
- Return Value:
- Number or Bool
Examples
- Example 1:
_ammoCount = (vehicle player) ammoOnPylon "pylon1";
- Example 2:
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
Notes
Bottom Section
- Posted on August 18, 2017 - 14:21 (UTC)
- Commy2
- The pylon indices start at 1 and not at 0.