Talk:Monsters stuck in doortracks, walls or hanging off lifts

I'm not sure this description is right, or the article at least needs some deeper discussion. This is the comment on the bug from p_enemy.c in Boom:

/* if the special is not a door that can be opened, return false *      * killough 8/9/98: this is what caused monsters to get stuck in       * doortracks, because it thought that the monster freed itself * by opening a door, even if it was moving towards the doortrack, * and not the door itself. *      * killough 9/9/98: If a line blocking the monster is activated, * return true 90% of the time. If a line blocking the monster is      * not activated, but some other line is, return false 90% of the * time. A bit of randomness is needed to ensure it's free from * lockups, but for most cases, it returns the correct result. *      * Do NOT simply return false 1/4th of the time (causes monsters to       * back out when they shouldn't, and creates secondary stickiness). */

Fraggle 23:57, 7 Jul 2005 (UTC)

I marked this article as a stub because it doesn't address the doortrack bit &mdash; I have seen that bug, and exploited it, many times while playing, but I have no idea how often it occurs or why. Heck, I've even seen barons (COMPBAS2.WAD) and spiderdemons (1SQUARES.WAD) suddenly get stuck on perfectly ordinary walls; what's going on there, do you suppose? Ryan W 05:49, 28 Sep 2005 (UTC)


 * Well I think it's safe to say that our last contributor has rather improved the article... -- Jdowland 14:29, 30 Sep 2005 (UTC)


 * Quite. :>   But the second phenomenon I describe above has still not been addressed or even mentioned (in this article or elsewhere).  I could easily make a demo of it on 1SQUARES.WAD, if anyone would like one.     Ryan W 22:56, 18 January 2006 (UTC)