~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetUnitAmmo|Get]]
* [[4rpl:commands:SetUnitAmmo|Set]]
====== GetUnitAmmo ======
GetUnitAmmo(<-unit) ->unitAmmo
===== Description =====
Pushes the ammo of the unit to the stack. One packet increments the ammo by 1.
===== Examples =====
trace(GetUnitAmmo(self))
<=[[4rpl:start| Index]]