Arma 3 Scripting

setDirection

  • Arma 3 v0.50
  • First in Armed Assault v1.08

Command · Markdown · JSON · 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