This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:getunittype [2013/12/21 18:32] – Added 1.15 updates - correct me if I got the wrong version Clean0nion | 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 8: | Line 8: | ||
=== Description === | === Description === | ||
- | Returns the name of the unit type. Names are NOT case sensitive. | + | Returns the name of the unit type as a string. Names are NOT case sensitive. |
+ | |||
+ | ==== Unit Types ==== | ||
* COMMANDNODE | * COMMANDNODE | ||
- | * CRPLCORE | + | |
* COLLECTOR | * COLLECTOR | ||
* RELAY | * RELAY | ||
Line 20: | Line 22: | ||
* GUPPY | * GUPPY | ||
* GUPPYAIR (as of 1.15) | * GUPPYAIR (as of 1.15) | ||
- | * PULSECANNON | + | |
+ | |||
+ | | ||
* MORTAR | * MORTAR | ||
* STRAFER | * STRAFER | ||
Line 28: | Line 32: | ||
* SPRAYER | * SPRAYER | ||
* NULLIFIER | * NULLIFIER | ||
- | * SHIELD | ||
* BEAM | * BEAM | ||
* SNIPER | * SNIPER | ||
+ | |||
* FORGE | * FORGE | ||
* BERTHA | * BERTHA | ||
+ | * THOR | ||
+ | |||
* POWERZONE | * POWERZONE | ||
* OREDEPOSIT | * OREDEPOSIT | ||
- | * ENERGYDEPOSIT0 FIXME | + | * RESOURCEPACK |
- | * ENERGYDEPOSIT1 FIXME | + | * TOTEM |
- | * ENERGYDEPOSIT2 FIXME | + | * AOO |
- | * ENERGYDEPOSIT3 FIXME | + | * ANTIEMITTER |
* SHIELDKEY | * SHIELDKEY | ||
* TECHARTIFACT | * TECHARTIFACT | ||
* MESSAGEARTIFACT | * MESSAGEARTIFACT | ||
- | * THOR | ||
* CRPLCORE | * CRPLCORE | ||
- | * RESOURCEPACK | ||
- | * TOTEM | ||
* EMITTER | * EMITTER | ||
* SPORETOWER | * SPORETOWER | ||
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. |