A_InquisitorDecide

From ZDoom Wiki
Revision as of 15:08, 28 September 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_InquisitorDecide}} '''A_InquisitorDecide''' (no parameters) Calls A_FaceTarget. If the calling actor's reaction time is 0, has line of sight to its target,…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_InquisitorDecide

(no parameters)

Calls A_FaceTarget. If the calling actor's reaction time is 0, has line of sight to its target, and this target is within 264 map units, then the calling actor is put in its Grenade state. However, if the target is not at the same altitude as the calling actor, and there is a clearance of at least 54 map units between the ceiling and the calling actor's head, then it is put in the Jump state instead.

This codepointer is restricted to Inquisitor and derived classes.