Neartag - EDukeWiki

# Neartag

From EDukeWiki

neartag <x> <y> <z> <sect> <ang> <nearTagSector> <nearTagWall> <nearTagSprite> <nearTagHitDist> <nearTagRange> <tagSearch>

<x> <y> <z> <sect> <ang> - Starting position & angle.
<nearTagSector> <nearTagWall> <nearTagSprite> - Returns nearest tags if they're found.
<nearTagHitDist> - Returns actual distance to object.
<nearTagRange> - Choose maximum distance to scan.
<tagSearch> 1-lotag only, 2-hitag only, 3-both lotag & hitag

neartag finds the nearest sector, wall, and sprite which has its hitag and/or lotag set to a value.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Neartag&oldid=9227"
Category:

- EDuke32 specific commands