Forum:Follower condition and keepdogs

From NetHackWiki
Revision as of 16:00, 23 May 2013 by Bulwersator (talk | contribs) (Created page with "{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> What decides whatever monster follows you to ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


What decides whatever monster follows you to other level? It needs M2_STALK flag (this group of monsters is described in Follower article), but there are monster with this flag that refuse to follow you (for example Orcus or Cthulhu from UnNetHack). I thought that condition is M2_STALK, without M3_WAITFORU - but Vlad is happily following me and he have both flags. Source:Ref/keepdogs is a relevant function but I am not understanding what happens there (I thought that "&& !(mtmp->mstrategy & STRAT_WAITFORU)" should keep Vlad from following). Bulwersator (talk) 16:00, 23 May 2013 (UTC)