User Tools

Site Tools


crpl:docs:settechartifacttype

<- CRPL reference <- Unit Commands

SetTechArtifactType

Arguments Result Notation
Unit UID, Tech typeNone 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. Tech types are derived from units types, a list of all unit types can be found here.

Examples

# Create an ore mine tech artifact at position (x,y)
CreateUnit("TECHARTIFACT" <-x <-y) ->unit
SetTechArtifactType(<-unit "OREMINE")
crpl/docs/settechartifacttype.txt · Last modified: 2021/02/05 11:44 by Karsten75