User Tools

Site Tools


4rpl:commands: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
4rpl:commands:createunit [2023/09/16 17:20] – Spore note. Vertu4rpl:commands:createunit [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
  
 ===== Description ===== ===== Description =====
-Creates a unit from a CMOD UID (a unit template defined in a CPACK). You can get the CMOD UID from within the CPACK manager. CMOD UIDs are unique and never change. The UID can also be a name that specifies the name of an internal unit.  See [[Unit Types]] for a list of the names.\\+Creates a unit from a CMOD UID (a unit template defined in a CPACK referred to as GUID). You can get the GUID from within the CPACK manager. GUIDs are unique and never change. The CMOD UID can also be a name that specifies the name of an internal unit.  See [[Unit Types]] for a list of the names.\\
 The unit will be placed at the supplied 3D vector position.\\ The unit will be placed at the supplied 3D vector position.\\
 The initParams are a table that contains a set of variables that will be set on the newly created unit. See [[GetUnitSettings]] for a list of the data names that can be specified in the initData table when creating built in units.\\ The initParams are a table that contains a set of variables that will be set on the newly created unit. See [[GetUnitSettings]] for a list of the data names that can be specified in the initData table when creating built in units.\\
4rpl/commands/createunit.1694884820.txt.gz · Last modified: 2025/02/14 14:56 (external edit)