This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| crpl:settechartifacttype [2014/01/19 18:35] – created stewbasic | crpl:settechartifacttype [2015/03/04 16:55] (current) – removed Karsten75 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | ||
| - | <- [[crpl: | ||
| - | ===== SetTechArtifactType | ||
| - | |||
| - | ^ Arguments ^ Result ^ Notation ^ | ||
| - | |Unit UID, Tech type|None |%%i s -- %%| | ||
| - | |||
| - | |||
| - | === Description === | ||
| - | SetTechArtifactType allows you to set which technology is unlocked by a tech artifact unit. It has no effect if the unit is not a tech artifact. The tech type is given as a string from the following list, and is the same as the unit name argument of [[crpl: | ||
| - | |||
| - | * COLLECTOR | ||
| - | * RELAY | ||
| - | * REACTOR | ||
| - | * OREMINE | ||
| - | * SIPHON | ||
| - | * TERP | ||
| - | * GUPPY | ||
| - | * PULSECANNON | ||
| - | * MORTAR | ||
| - | * STRAFER | ||
| - | * BOMBER | ||
| - | * SPRAYER | ||
| - | * NULLIFIER | ||
| - | * SHIELD | ||
| - | * BEAM | ||
| - | * SNIPER | ||
| - | * FORGE | ||
| - | * BERTHA | ||
| - | * THOR | ||
| - | * COMMANDNODE | ||
| - | |||
| - | ==== Examples ==== | ||
| - | < | ||
| - | # Create an ore mine tech artifact at position (x,y) | ||
| - | CreateUnit(" | ||
| - | SetTechArtifactType(< | ||
| - | </ | ||