Types/Unit
< Types
Unit[edit | edit source]
- A variable of the type Unit can represent any unit in the game, dead or alive. In a sense, units are not managed automatically, so you must ensure that every unit you create is also removed or killed appropriately, or it will linger in the game until it ends.
Creation & Deletion[edit | edit source]
A unit (group) can be created with the following actions:
- Create Cargo Units
- Create Inventory Item
- Create Units Facing Angle
- Create Units Facing Point
- Create Units With Default Facing
- Create Units With Point Facing
A unit can be deleted or removed with the following action:
Other[edit | edit source]
- Every unit falls under a unit type, which is the classification or type of an individual unit. See the data editor for more information.
- Unit Action List
- Unit Function List
- Function List (Old link to be deleted once reformatting is completed)