4rpl:commands:getunittype

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:getunittype [2021/01/22 15:38] virgilw4rpl:commands:getunittype [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 7: Line 7:
  
 ===== Description ===== ===== Description =====
-Returns the string type of the unit. For custom units, this is the CMOD GUID. For built in units, it is the string unit type (like "cannon"). In both cases, the string can be passed to CreateUnit and other APIs that take units. The list of Unit Names for built in units is as follows.\\+Returns the string type of the unit. For custom units, this is the CMOD UID. For built in units, it is the string unit type (like "cannon"). In both cases, the string can be passed to [[CreateUnit]] and other APIs that take units.  
 + 
 +See [[Unit Types]] for the list of Unit Names for built in units. 
  
-====Unit Types==== 
-  * "tower" 
-  * "pylon" 
-  * "miner" 
-  * "greenarrefinery" 
-  * "terp" 
-  * "porter" 
-  * "cannon" 
-  * "mortar" 
-  * "sprayer" 
-  * "sniper" 
-  * "missilelauncher" 
-  * "nullifier" 
-  * "runway" 
-  * "bomberpad" 
-  * "acbomberpad" 
-  * "rocketpad" 
-  * "platform" 
-  * "shield" 
-  * "microrift" 
-  * "beacon" 
-  * "ernportal" 
-  * "factory" 
-  * "conversion" 
-  * "damper" 
-  * "rain" 
-  * "singularity" 
-  * "wall" 
-  * "collectorpanel3" 
-  * "collectorpanel5" 
-  * "delegate" 
-  * "ern" 
-  * "crystal" 
-  * "greenarmother" 
-  * "infocache" 
-  * "monolith" 
-  * "pod" 
-  * "pterosaur" 
-  * "resourceblue" 
-  * "resourcered" 
-  * "totem" 
-  * "ultrac" 
-  * "stash" 
-  * "darktower" 
-  * "emitter" 
-  * "sporelauncher" 
-  * "blobnest" 
-  * "skimmerfactory" 
-  * "airsaccauldron" 
-  * "spore" 
-  * "blob" 
-  * "skimmer" 
-  * "forb" 
-  * "shrapnel" 
-  * "airsac" 
-  * "egg" 
-  * "airsacbubble" 
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/getunittype.1611329887.txt.gz · Last modified: 2025/02/14 14:56 (external edit)