Jump to content

InActiveArea() limitations


argent77

Recommended Posts

After randomly crashing my BG2 game while testing a mod character I have found out that the script action InActiveArea(O:Object*) is the cause for the crashes if the specified object isn't an NPC or otherwise globally registered creature and the object is not in the same area.

 

Can anyone confirm that behavior?

Link to comment

I've tested InActiveArea(O:Object*) a bit more thoroughly in different configurations and the game always crashes if the specified creature isn't globally registered and not in the active area or doesn't exist at all.

 

The similiar script action InMyArea(O:Object*) is much more reliable and didn't crash the game, no matter what parameter I've specified. So it could be used as a valid alternative in many cases.

Link to comment

Archived

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

×
×
  • Create New...