~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:getunitammoware|Get]]
* [[4rpl:commands:setunitammoware|Set]]
:!: Available in version 1.3 and later.
====== GetUnitAmmoWare ======
GetUnitAmmoWare(<-unit) ->unitAmmoWare
===== Description =====
Pushes the ammo ware type of the unit to the stack.
? 0
: energy
? 1
: anticreeper
? 2
: arg
? 3
: liftic
Additionally, when used on a Porter (But not Pods) it will push
? 4
: Bluite
? 5
: Redon
? 6
: Greenar
\\
===== Examples =====
trace(GetUnitAmmoWare(self))
<=[[4rpl:start| Index]]