Ifpdistl

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.

ifpdistl <number>

Checks if the actor's distance to the player is less than <number>. Also see ifpdistg.

Side effect: if actor is farther away from the player than MAXSLEEPDIST (16384), set actor to "sleeping".