Findplayer: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: findplayer <dist> Finds the nearest player and calculates the distance(<dist>) to him/her.<br\> The RETURN variable is ID(0..max players) of the found player. [[Category:EDuke comman...
 
mNo edit summary
Line 1: Line 1:
findplayer <dist>
findplayer <dist>


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


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Gamevar manipulation]]
[[Category:Gamevar manipulation]]

Revision as of 12:21, 11 December 2007

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.