getDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:


Angles are measured in degrees clockwise from north.
Angles are measured in degrees clockwise from north.
See also: [[setDir]]





Revision as of 09:18, 21 May 2006


getDir obj


Operand types:

obj: Object

Type of returned value:

Number

Description:

Object heading in range 0 to 360.

Angles are measured in degrees clockwise from north.

See also: setDir


Example:

getDir player