DIR constant group

Description

Constants for directions of an object. This can be e.g. a viewing direction of the clonk. These constants are used with GetDir and SetDir.

Constants

Name Category Description Introduced in Value
DIR_Left Objects/Activity Direction to the left. 4.6.5.0 CP 0
DIR_Right Objects/Activity Direction to the right. 4.6.5.0 CP 1

Example

SetComDir(COMD_None, GetCursor();
SetDir(DIR_Right(), GetCursor());
				
The selected clonk stops and looks to the right.

Changelog

Date Author Version Affecting Description
November 2001 Sven2 4.6.5.0 CP All Introduction DIR constant group.
Sven2, November 2001