Osiris/Shared/DB InRegion

From Divinity Engine Wiki
Revision as of 22:33, 7 February 2018 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • DB_InRegion((CHARACTERGUID)_Char, (TRIGGERGUID)_Region)
  • DB_WasInRegion((CHARACTERGUID)_Char, (TRIGGERGUID)_Region)
Description

Whenever a CharacterEnteredTrigger event is thrown, a DB_InRegion() fact for this character/trigger combination will be defined. When a CharacterLeftTrigger event is thrown, this fact is removed and a DB_WasInRegion() fact with the same data gets added.

Notes
  • When a non-player character dies while DB_InRegion(_Npc, _Trigger) was defined for it, this fact will be removed. Furthermore, no DB_WasInRegion() fact will be added at that point. When a player character dies, the DB_InRegion() database does not change.
See Also