<unsetglobal> — Remove Global FlagThe <unsetglobal> tag is used to remove a globally set game flag that affects all players. This tag should be used with extreme caution, as global flags represent world-level state — not personal state. Once removed, the global state is gone for everyone, not just the current player.
<unsetglobal FLAGNAME>
FLAGNAME should be a lowercase-compatible identifier (underscores allowed).> in the flag name inside the tag; it will be stripped automatically by the engine.game_global_flags database table.<unsetglobal DARKNESSCURSE>
This removes the global flag darknesscurse, potentially undoing a previous global event — such as ending an extended eclipse or curse affecting all towns.
<unsetglobal> unless you’re absolutely certain undoing a global state is appropriate.<setglobal> are intended to be permanent narrative/world state changes. Removing them may cause narrative inconsistencies or affect logic across multiple quests or players.Use with extreme discretion.