Thing Hate

From ZDoom Wiki
Revision as of 09:14, 17 August 2004 by Sargebaldy (talk | contribs) (+cat)
Jump to navigation Jump to search
  • Thing_Hate (hater, hatee, hate type)
Hater: The TID of the Hater (monster that will hate and attack)
Hatee: The TID of the Hatee (monster that is to be hated by the hater)
Hate Type: The type of hate that this will be >    
       0 - Just hate one specific actor
       1 - Hate actors with given TID and attack players when shot
       2 - Same as 1, but will go after enemies without seeing them first
       3 - Hunt actors with given TID and also players
       4 - Same as 3, but will go after monsters without seeing them first
       5 - Hate actors with given TID and ignore player attacks
       6 - Same as 5, but will go after enemies without seeing them first

This forces a thing to hate another thing. If set for monsters it will cause that monster to go after the hatee rather than the player. If you use Thing_Hate (tid, 0, 2), you can make a monster go after a player without seeing him first, assuming the player has a TID of 0.