ScarDoc

Start typing to search the SCAR reference.

Function
Util

Util_GetDistance

Returns the distance between two objects

On this page
Util_GetDistance(Object1, Object2)

Description

Returns the distance between two objects

Parameters

  • Object1entity/squad/egroup/sgroup/marker/posrequired
  • Object2entity/squad/egroup/sgroup/marker/posrequired

Returns

Real

Source

Declared in the game's script sources at:

scar/util.scar