Category: Objects
/ Activity
Since engine version: 1.0 OC
SetDir
Description
Sets the direction of the object. If the object defines an action named "Turn", this action is executed after the call of this function.
Syntax
int SetDir(int dir);
Parameter
- dir:
Remarks
SetDir affects the visual direction of an active object; to modify object motion use SetComDir.
If the object's action has more than two directions (see the ActMap), you can also use values other than just DIR_Right and DIR_Left.