Ifpdistl: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
No edit summary
 
ifpdistl: document side effect
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
ifpdistl <num>
'''ifpdistl''' <number>


Checks if the actor's distance to the player is less than <num>
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".
 
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:If conditions]]

Latest revision as of 08:04, 4 December 2011

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