Category: Objects
/ Movement
Since engine version: 1.0 OC
COMD_None
Description
Movement direction: keep current motion. For more information see SetComDir.
Syntax
int COMD_None
Example
FindObject(Find_ID(ButterFly))->SetAction("Fly"); FindObject(Find_ID(ButterFly))->SetComDir(COMD_None); FindObject(Find_ID(ButterFly))->SetSpeed(20, 30);
This code will let a butterfly fly in an alternative direction than the predefined ones for the FLOAT procedure