Findplayer

From EDukeWiki
Revision as of 21:05, 7 January 2011 by Hendricks266 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

findplayer <gamevar>
findotherplayer <gamevar>

Returns the distance and ID of the nearest player. Parameter taken is the gamevar to return the distance to, while RETURN holds the ID of the player found. Note that if run from the APLAYER actor or from a player event, findotherplayer must be used, as findplayer will return the ID of the player which called it.

Retrieved from "https://wiki.eduke32.com/w/index.php?title=Findplayer&oldid=9250"