Jump to content

IsPathCriticalObject


Avenger

Recommended Posts

Posted

0x40f5 IsPathCriticalObject(Object)

 

Checks if the target actor has its (multiclass/areaflags) set to 0x2000. (This is where bg2 stores multiclass, iwd2 stores values from creareaflg.ids etc.)

 

If a creature with such a flag dies, the game is over.

 

As a side note, IWD2 redefines most of the bits in this field.

Posted

SetCriticalPathObject(object, boolean) does what you would expect, flips the bit in mc flags according to the boolean value.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...