User Tools

Site Tools


crpl:docs:createunit

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:createunit [2015/04/08 00:13] Karsten75crpl:docs:createunit [2020/05/30 11:18] (current) Sanian
Line 3: Line 3:
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-|Unit Name and coordinates| Unit UID |''s1 i1 i2 -- i3''|+|Unit type, X, Y| Unit UID |''s1 i1 i2 -- i3''|
  
  
 === Description === === Description ===
-Creates a unit at the specified coordinates Unit names must be one of the follow strings Names are NOT case sensitive. +Creates a unit at the given coordinates of the specified type. 
- +A list of all applicable Unit Types can be found on the following [[crpl:docs:getunittype#unit_types|page]].
-  * COLLECTOR +
-  * RELAY +
-  * REACTOR +
-  * OREMINE +
-  * SIPHON +
-  * TERP +
-  * GUPPY +
-  * PULSECANNON +
-  * MORTAR +
-  * STRAFER +
-  * BOMBER +
-  * SPRAYER +
-  * NULLIFIER +
-  * SHIELD +
-  * BEAM +
-  * SNIPER +
-  * FORGE +
-  * BERTHA +
-  * POWERZONE +
-  * OREDEPOSIT +
-  * RESOURCEPACK +
-  * SHIELDKEY +
-  * TECHARTIFACT +
-  * MESSAGEARTIFACT +
-  * AOO +
-  * THOR +
-  * CRPLCORE +
-  * RESOURCEPACK +
-  * TOTEM +
-  * EMITTER +
-  * SPORETOWER +
-  * RUNNERNEST +
-  * AETOWER +
-  * INHIBITOR+
  
 === Examples === === Examples ===
 +The examples below are using [[crpl:docs:setscriptvar|SetScriptVar]] to change various attributes of regular units (not CRPL cores). You can find all the attributes of regular units you can change with SetScriptVar [[crpl:docs:setscriptvar#list_of_vars|here]].
 +
 <code> <code>
 "CRPLCORE" 10 10 CreateUnit ->unitUID "CRPLCORE" 10 10 CreateUnit ->unitUID
crpl/docs/createunit.1428466399.txt.gz · Last modified: 2015/04/08 00:13 by Karsten75