direction
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Returns the direction an object is facing.
Syntax
- Syntax:
- Number = direction Object
- Parameters:
- Object
- Return Value:
- Number - Direction in degrees, range 0 to 360
Examples
- Example 1:
player setDir 90 _d = direction player
returns 90
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- setDir

