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/07 02:30] – moved unit list to GetUnitType, added link Telanircrpl:docs:createunit [2020/05/30 11:18] (current) Sanian
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#unit_commands|Unit Commands]]
 =====  CreateUnit  ===== =====  CreateUnit  =====
  
 ^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''|
  
  
Line 12: Line 11:
  
 === 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.1428388237.txt.gz · Last modified: 2015/04/07 02:30 by Telanir