<- 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. Tech types are derived from units types, a list of all unit types can be found here.
# Create an ore mine tech artifact at position (x,y) CreateUnit("TECHARTIFACT" <-x <-y) ->unit SetTechArtifactType(<-unit "OREMINE")