setDirection – Talk
Jump to navigation
Jump to search
(@Lightwolf's Note) |
mNo edit summary |
||
Line 1: | Line 1: | ||
=Lightwolf's Note= | =Lightwolf's Note= | ||
-https://community.bistudio.com/wiki?title=setDirection&oldid=88331<br> | |||
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: | 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: | ||
<code>location2 = createLocation ["VegetationPalm", getpos player, 200, 200]; | <code>location2 = createLocation ["VegetationPalm", getpos player, 200, 200]; |
Revision as of 17:03, 30 March 2015
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.