From Divinity Engine Wiki
- event ObjectFlagSet((STRING)_FlagName, (GUIDSTRING)_Speaker, (INTEGER)_DialogInstance)
Thrown when the flag _FlagName is set on object _Speaker in the context indicated by _DialogInstance.
- _FlagName: The flag that is set.
- _Speaker: The object on which the (character) flag is set.
- _DialogInstance: If the flag was set using a dialog node, _DialogInstance contains the dialog's instance ID. If the flag was set from story, _DialogInstance will contain whatever was passed as last parameter to ObjectSetFlag. If the flag was set from behaviour script, DialogInstance will be zero.