User Tools

Site Tools


4rpl:commands:getunitammoware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:getunitammoware [2021/01/30 20:25] – created virgilw4rpl:commands:getunitammoware [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +<WRAP tabs>
 +  * [[4rpl:commands:getunitammoware|Get]]
 +  * [[4rpl:commands:setunitammoware|Set]]
 +</WRAP>
  
 :!: Available in version 1.3 and later. :!: Available in version 1.3 and later.
Line 7: Line 11:
  
 ===== Description ===== ===== Description =====
-Pushes the ammo ware type of the unit to the stack. 0 = energy, 1 = anticreeper, 2 = arg, 3 = liftic. 
  
 +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 ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
4rpl/commands/getunitammoware.1612038355.txt.gz · Last modified: 2025/02/14 14:56 (external edit)