Findplayer: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
One (talk | contribs)
No edit summary
Line 1: Line 1:
findplayer <dist>
'''findplayer''' <dist>


Finds the nearest player and calculates the distance(<dist>) to it.<br\>
Finds the nearest player and calculates the distance(<dist>) to it.<br\>

Revision as of 12:22, 4 May 2009

findplayer <dist>

Finds the nearest player and calculates the distance(<dist>) to it.<br\> The RETURN variable is ID(0..max players) of the found player.