Arma 3 Scripting

Command in Locations

setDirection

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the orientation of a location. The location's area and map icon (if its type uses an icon) will be rotated to this orientation.

Syntax

location setDirection direction

Parameters:

Returns: Nothing

Examples

Example 1

_location = createLocation ["VegetationPalm", getPos player, 200, 200];
_location setText "Benargee's Palm Tree";
_location setDirection 45;

See also

createLocation · setText · direction