Findplayer

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.