This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Unit Commands
| Arguments | Result | Notation |
|---|---|---|
| Unit UID, Tech type | None | i s -- |
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 CreateUnit.
# Create an ore mine tech artifact at position (x,y)
CreateUnit("TECHARTIFACT" <-x <-y) ->unit
SetTechArtifactType(<-unit "OREMINE")