Skip to content
davido262 edited this page Nov 5, 2012 · 5 revisions

Commands are instructions that can be executed by any object inherited from CommandObject

There are two types of commands: action commands and attributes.

Action Commands

Action commands are plain normal commands. They can tell an entity to move forward, or jump, or fire, or any other action.

Format

object-name command arguments

Example

player move-z -10

Attribute Commands

Attributes are only properties such as the position, rotation, mass, friction, or any other value that affects a CommandObject. To change the value of an attribute the special action command set must be used.

Format

object-name set attribute arguments

Example

player set position-abs 0 0 -10

Note the use of set and then the attribute name and parameters

For a complete list of the available commands check the List of Commands.

Clone this wiki locally