-
Notifications
You must be signed in to change notification settings - Fork 0
Commands
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 are plain normal commands. They can tell an entity to move forward, or jump, or fire, or any other action.
object-name command arguments
player move-z -10
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.
object-name set attribute arguments
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.