NPC Flag 13 - cant_die
Posted: Wed Apr 12, 2006 10:33 am
In BG, what is the function of flag 13 for NPCs?
As near as I can tell, invulnerable NPCs seem to have it set (Horance, Lord British, and Batlin), but it doesn't seem that Exult respects the flag itself. For example, if I unset the flag for Batlin, he still can't be slain, while setting it for an NPC that normally does NOT have it doesn't make them invulnerable (tried it with Klog in Trinsic just now).
Mind you, I'm using 1.2 rather than 1.4 (see my other thread about the 1.4 snapshot apparently being broken at the moment), but if memory serves, the same was true of an older build of 1.4. In fact, I'm certain of it because I once had to modify actors.cc to make it so I could kill Batlin (just for the fun of it; knowing nothing of C programming, that was a fun experience).
As near as I can tell, invulnerable NPCs seem to have it set (Horance, Lord British, and Batlin), but it doesn't seem that Exult respects the flag itself. For example, if I unset the flag for Batlin, he still can't be slain, while setting it for an NPC that normally does NOT have it doesn't make them invulnerable (tried it with Klog in Trinsic just now).
Mind you, I'm using 1.2 rather than 1.4 (see my other thread about the 1.4 snapshot apparently being broken at the moment), but if memory serves, the same was true of an older build of 1.4. In fact, I'm certain of it because I once had to modify actors.cc to make it so I could kill Batlin (just for the fun of it; knowing nothing of C programming, that was a fun experience).