A_MinotaurChase

From ZDoom Wiki
Jump to navigation Jump to search

A_MinotaurChase
(no parameters)

If the calling actor is not a MinotaurFriend or derived class, calls A_Chase and does nothing else.

Otherwise, does a series of things:

  • Set calling actor's render style to normal (a dark servant hurt while in its Spawn state might otherwise go to the Pain state without finishing fading in)
  • Commit suicide if 25 seconds or more have passed since it was summoned (as recorded by the StartTime field)
  • Call A_MinotaurLook
  • Go to the Spawn state if no valid targets are found; otherwise set the reactiontime field to 0 and start attacking the target, going into the Melee or missile state as appropriate, moving towards the enemy, and potentially playing its attack sound or active sound.

This codepointer is restricted to Minotaur and derived classes.