A_InquisitorCheckLand

From ZDoom Wiki
Jump to navigation Jump to search

A_InquisitorCheckLand

(no parameters)

Decreases the calling actor's "reaction time" field by 1. If it reaches 0 or less, or one of the calling actor's horizontal velocities is 0, or the calling actor's altitude is on the floor or below, then the calling actor loses the NOGRAVITY flag, sees its "reaction time" set to 0, stops playing sounds in the ITEM channel, and is put in its See state.

Otherwise, continues looping the "inquisitor/jump" sound on the ITEM channel.

This codepointer is restricted to Inquisitor and derived classes.