SetComDir

Category: Objects / Movement
Since engine version: 1.0 OC

Description

Sets the command direction of an object (see GetComDir).

Syntax

int SetComDir(int com_dir);

Parameter

com_dir:

Example

var clonk = GetHiRank(0);
clonk->SetComDir(COMD_None);
clonk->SetCommand("");
Tells the highest ranking clonk of the first player to stop. Any current activity will be stopped.
See also: GetComDir, GetProcedure, Procedure, SetDir
jwk, 2002-08