setDirection

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Armed Assault version 1.08
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.08

Description

Description:
Set's the orientation of a location. It's area and map icon (if it's type uses an icon) will be rotated to this orientation.

Syntax

Syntax:
location setDirection direction
Parameters:
location: Location
direction: Number
Return Value:
Nothing

Examples

Example 1:
location1 = createLocation ["VegetationPalm", getPos player, 200, 200]; location1 setText "Benargee's Palm Tree"; location1 setDirection 45;

Additional Information

Multiplayer:
-
See also:
createLocationsetTextdirection

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section