Neartag: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
 
Line 5: Line 5:
<nearTagHitDist> - Returns actual distance to object.<br/>
<nearTagHitDist> - Returns actual distance to object.<br/>
<nearTagRange> - Choose maximum distance to scan.<br/>
<nearTagRange> - Choose maximum distance to scan.<br/>
<tagSearch> 1-lotag only, 2-hitag only, 3-lotag&hitag
<tagSearch> 1-lotag only, 2-hitag only, 3-both lotag & hitag


neartag returns the nearest tags and distance to them.
neartag finds the nearest sector, wall, and sprite which has its [[hitag]] and/or [[lotag]] set to a value.


[[Category:EDuke32 specific commands]]
[[Category:EDuke32 specific commands]]

Latest revision as of 19:12, 7 January 2011

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.