Ifpdistg

From EDukeWiki
Revision as of 09:04, 4 December 2011 by Helixhorned (talk | contribs) (ifpdistg: document side effect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ifpdistg <number>

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

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