setDirection – Talk

From Bohemia Interactive Community
Revision as of 17:59, 30 March 2015 by Benargee (talk | contribs) (@Lightwolf's Note)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lightwolf's Note

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.