setDirection

From Bohemia Interactive Community
Revision as of 16:02, 30 March 2015 by Lightwolf (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

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.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
myLocation setDirection 45

Additional Information

See also:
direction

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section

Posted on March 30, 2015 - 14:02 (UTC)
Lightwolf
Do not work for Locations on Arma 3! also the predefined locations on Altis have the direction 0, at the moment it is impossible to create a location and edit the the degree of it!