Osiris/Shared/DB InRegion

From Divinity Engine Wiki
Revision as of 16:36, 15 October 2017 by Tinkerer (talk | contribs)
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