Is it ok to use IsValidForPartyDialog?

I seem to recall this function was buggy and modders
didn't like using it in vanilla BG2.
What was the particular problem? i see even in vanilla BG2 it was used all over the place in the retail code.
didn't like using it in vanilla BG2.
What was the particular problem? i see even in vanilla BG2 it was used all over the place in the retail code.
0
Comments
https://forums.beamdog.com/discussion/1686/bg2-bug-ifvalidforpartydialogue-flakiness/p1
Its talking about "ifvalidforpartydialogue" but I think effectively they are the same thing. Basically "ifvalidforpartydialogue" (and by extension "isvalidforpartydialogue") had a whole bunch of requirements in order to trigger. Including a requirement that the person you are talking to was not the last person you talked to. This caused scripting issues.