An entity for moving objects like doors, lifts, platforms, etc. More...

Public Member Functions | |
| Translate (number x, number y, number z, number time) | |
| Linearly translates this entity to the given position over the given time. More... | |
| Rotate () | |
| This method is not yet implemented. More... | |
Public Member Functions inherited from BaseEntityT | |
| 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... | |
An entity for moving objects like doors, lifts, platforms, etc.
To be used with scripting.
func_mover | Rotate | ( | ) |
This method is not yet implemented.
| Translate | ( | number | x, |
| number | y, | ||
| number | z, | ||
| number | time | ||
| ) |
Linearly translates this entity to the given position over the given time.
While a translation is in progress, no other translation can be filed (additional calls to Translate() are ignored).
| x | The x-coordinate of the position to translate the entity to. |
| y | The y-coordinate of the position to translate the entity to. |
| z | The z-coordinate of the position to translate the entity to. |
| time | The time to take for the translation. |