Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
DIR_Right
Category:
Objects / Activity
Since engine version:
4.6.5.0 CP
Description
Constant for
SetDir
/
GetDir
: direction right
Syntax
int
DIR_Right ();
Remark
This value is also defined as a constant. Thus the parameter brackets can be omitted.
Example
SetComDir
(
COMD_None
(),
GetCursor
();
SetDir
(DIR_Right(),
GetCursor
());
The selected clonk stops and looks to the right.
See also:
DIR_Left
,
GetDir
,
SetDir
Sven2, November 2001
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script