Seven Towers: UCC Reference

USECODE INTRINSICS

int UI_get_distance(object obj1, object obj2)
int obj1->get_distance(obj2)

Gets the distance between two objects.

Parameters

obj1One of the two objects.
obj2The other object.

Return

The distance between the two objects, or zero if one or both of the parameters is not a valid object.

Related intrinsics

See also