Osiris/API/ObjectFlagCleared
From Divinity Engine Wiki
Full Definition(s)
- event ObjectFlagCleared((STRING)_FlagName, (GUIDSTRING)_Speaker, (INTEGER)_DialogInstance)
Description
This event is raised when an object flag gets cleared/unset from Osiris, a behaviour script or a dialog.
Parameters
- _FlagName: The flag that has been cleared.
- _Speaker: The object from which the (character) flag was cleared.
- _DialogInstance: If the flag was cleared 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 ObjectClearFlag. If the flag was cleared from behaviour script, DialogInstance will be zero.
Notes
- If you clear an object flag that was not set in the first place (or that was previously already unset), this event will not be raised.