crpl:docs: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
crpl:docs:getunittype [2014/10/01 19:02] – external edit 127.0.0.1crpl:docs:getunittype [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]]
 =====  GetUnitType  ===== =====  GetUnitType  =====
Line 9: Line 9:
 === Description === === Description ===
 Returns the name of the unit type as a string. Names are NOT case sensitive. Returns the name of the unit type as a string. Names are NOT case sensitive.
 +
 +==== Unit Types ====
  
   * COMMANDNODE   * COMMANDNODE
Line 22: Line 24:
   * SHIELD   * SHIELD
  
-  * PULSECANNON+  * PULSECANNON (use CANNON for Tech Artifacts)
   * MORTAR   * MORTAR
   * STRAFER   * STRAFER
Line 41: Line 43:
   * RESOURCEPACK   * RESOURCEPACK
   * TOTEM   * TOTEM
 +  * AOO
 +  * ANTIEMITTER
  
   * SHIELDKEY   * SHIELDKEY
Line 53: Line 57:
   * AETOWER   * AETOWER
   * INHIBITOR   * INHIBITOR
 +
 +**Notes:**
 +  * COMMANDNODE, RUNNER, BOMBERAIR, STRAFERAIR and GUPPYAIR **cannot** be created using [[crpl:docs:createunit|CreateUnit]].
 +  * [[crpl:docs:settechartifacttype|Tech Artifacts]] can only be player unit types excluding the AIR-suffix units.
  
 Flying guppies, strafers, bombers, and runners will return an empty string as their unit type if your version of CW3 is 1.14 or lower. Flying guppies, strafers, bombers, and runners will return an empty string as their unit type if your version of CW3 is 1.14 or lower.
crpl/docs/getunittype.1412190170.txt.gz · Last modified: 2025/02/14 14:56 (external edit)