This is the base class that all other entities directly or indirectly inherit from. More...

Public Member Functions | |
| string | GetName () |
| Returns the name of this entity. More... | |
| x y z | GetOrigin () |
| Returns the origin of this entity as a triple of numbers. More... | |
| SetOrigin (number x, number y, number z) | |
| Sets a new position for this entity. More... | |
This is the base class that all other entities directly or indirectly inherit from.
The functionality that this class provides is shared by all entities. Entities of this class cannot be created in map files directly, but they're always created via one of the derived classes.
| string GetName | ( | ) |
Returns the name of this entity.
The name of the entity is normally assigned in the map file / map editor, and unique among all entities. When a new map starts, a script object that represents the entity is created as a global with this name.
| x y z GetOrigin | ( | ) |
Returns the origin of this entity as a triple of numbers.
| SetOrigin | ( | number | x, |
| number | y, | ||
| number | z | ||
| ) |
Sets a new position for this entity.
| x | The new x-coordinate for the origin of this entity. |
| y | The new y-coordinate for the origin of this entity. |
| z | The new z-coordinate for the origin of this entity. |