ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_GetAngleDifference

Returns the angle (in degrees) between two items

On this page
Util_GetAngleDifference(item1, item2)

Description

The items must of of types that can have a direction resolved on them with Util_GetDirection()

Parameters

  • item1Marker/Pos/Entity/EGroup/Squad/SGrouprequired
  • item2Marker/Pos/Entity/EGroup/Squad/SGrouprequired

Returns

Real

Source

Declared in the game's script sources at:

scar/util.scar