This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getunittype [2013/12/23 19:31] – thepenguin | crpl:docs:getunittype [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== 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 |
* 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, | ||
+ | * [[crpl: | ||
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. |