Ifpdistg: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
ifpdistg: document side effect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ifpdistg <number>
'''ifpdistg''' <number>


Checks if the [[actor]]'s distance to the player is greater than <number>. Also see [[ifpdistl]].
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".


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:If conditions]]

Latest revision as of 08:04, 4 December 2011

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".