A_MinotaurRoam


This codepointer is restricted to Minotaur and derived classes.

A_MinotaurRoam
(no parameters)

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)
  • If the calling actor is a MinotaurFriend, commit suicide if 25 seconds or more have passed since it was summoned (as recorded by the StartTime field)
  • An about 12% chance of calling A_MinotaurLook
  • An about 2% chance of facing a random direction
  • Changes the direction by 45° to either the right or the left if the current one doesn't allow the minotaur to move.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.