ObjectDistance
Category: Objects
Since engine version: 5.1 OC
Description
Returns the distance between two objects. If obj is nil
the distance between the calling object and obj2 is measured.
Syntax
int ObjectDistance(object obj2, object obj);
Parameters
- obj2:
Second object.
- obj:
[opt]
First object. Can be nil
in local calls.
jwk, 2002-08