User Tools

Site Tools


crpl:settechartifacttype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:settechartifacttype [2014/01/19 18:35] – created stewbasiccrpl:settechartifacttype [2015/03/04 16:55] (current) – removed Karsten75
Line 1: Line 1:
-~~DISCUSSION~~ 
-<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] 
-=====  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:docs:createunit|CreateUnit]]. 
- 
-  * COLLECTOR 
-  * RELAY 
-  * REACTOR 
-  * OREMINE 
-  * SIPHON 
-  * TERP 
-  * GUPPY 
-  * PULSECANNON 
-  * MORTAR 
-  * STRAFER 
-  * BOMBER 
-  * SPRAYER 
-  * NULLIFIER 
-  * SHIELD 
-  * BEAM 
-  * SNIPER 
-  * FORGE 
-  * BERTHA 
-  * THOR 
-  * COMMANDNODE 
- 
-==== Examples ==== 
-<code> 
-# Create an ore mine tech artifact at position (x,y) 
-CreateUnit("TECHARTIFACT" <-x <-y) ->unit 
-SetTechArtifactType(<-unit "OREMINE") 
-</code>  
  
crpl/settechartifacttype.1390156544.txt.gz · Last modified: 2025/02/14 14:56 (external edit)