Talk:Monster behavior

"Arch-Viles can never be the target of another monster"

This is not explained in the article - Can someone elaborate on why this can't happen? I understand that arch-viles can't accidentally attack anything except their real target. BUT, other enemies can accidentally attack the arch-vile, so if in retaliation the arch-vile targets, say, an imp, then the imp might target the arch-vile after being attacked by it. Furthermore I have a very vague memory of witnessing this (but no immediate evidence to back this up).

Am I wrong about this? Zack 16:51, 23 December 2007 (UTC)


 * No, the imp would not target the arch-vile. It's in the code (see for example here, and the Arch-Vile article).  Or try playing 12.WAD from Maximum Doom with IDDT, and watch the arch-vile kill the cyberdemon or the spiderdemon.


 * Some source ports have changed or compatibility-optioned this behavior, so... no offense, but when people say that they vaguely remember something but don't bother to go back and test it, it was almost certainly in a port.   Ryan W 17:57, 23 December 2007 (UTC)

Ranged attack use
Is there source code to support this? Because that whole section runs entirely counter to my experience. Ryback 00:58, 19 October 2008 (UTC)


 * Indeed there is: .   Ryan W 23:07, June 10, 2010 (UTC)

Threshold
"Note that this is only a possibility, and often the monster will choose to ignore the hits it takes and keep its current target even if its threshold is at zero." What is the support for this statement? In the source code, when a monster is damaged, the threshold is checked and if the check succeeds, the monster always switches to target the source of the damage. 69.22.237.141 08:33, August 29, 2010 (UTC)