Table of Contents

ActorDistance2D

fixed ActorDistance2D(int tid1, int tid2)

Description

Returns the distance between two actors on the XY plane in mapunits, ignoring the Z dimension.

Example

print(s:"You are ", f:ActorDistance2D(0, monstertid), s:" mapunits away from the monster");