From Divinity Engine Wiki
- event GlobalFlagSet((STRING)_FlagName)
This event is raised when a global flag gets set from Osiris, a behaviour script or a dialog.
- _FlagName: The name of the global flag that was set.
- If you set a global flag that is already set, this event will not be raised (again).