ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:actordistance2d

This is an old revision of the document!


Table of Contents

ActorDistance2D

fixed ActorDistance2D(int tid1, int tid2)

Description

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

Example

print(s:"You are ", f:ActorDistance2D(0, monstertid), s:" mapunits away from the monster");
functions/actordistance2d.1489606092.txt.gz · Last modified: 2017/03/15 21:28 by korshun