setDirection – Talk

From Bohemia Interactive Community
Revision as of 17:03, 30 March 2015 by Benargee (talk | contribs)
Jump to navigation Jump to search

Lightwolf's Note

-https://community.bistudio.com/wiki?title=setDirection&oldid=88331
I had very different results to your claim. This command does work with Arma 3 locations. If you read carefully, it only changes the orientation of the area and icon if it has one. This code demontrates the icon rotation: location2 = createLocation ["VegetationPalm", getpos player, 200, 200]; Location2 setText "Benargee's Palm Tree"; Location2 setDirection 45; Now observe the map and you will see the icon is rotated 45 degrees. The text is not rotated as that would make no sense.
The only thing that stands true, is that you can not edit preexisting locations built into the map.