Difference between revisions of "Osiris/Shared/DB InRegion"
From Divinity Engine Wiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
* [[Osiris/API/TriggerUnregisterForPlayers|TriggerUnregisterForPlayers]] | * [[Osiris/API/TriggerUnregisterForPlayers|TriggerUnregisterForPlayers]] | ||
* [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]] | * [[Osiris/API/TriggerLaunchIterator|TriggerLaunchIterator]] | ||
− | + | * Helper [[Osiris/Shared/DB_TriggerSendsSpotEvents|DB_TriggerSendsSpotEvents]] | |
− | [[Category:Osiris Shared Mod Helpers]] | + | * Helper [[Osiris/Shared/ProcTriggerRegisterForPlayers|ProcTriggerRegisterForPlayers]] |
+ | |||
+ | [[Category:Osiris Shared Mod Helpers|InRegion]] |
Latest revision as of 22:33, 7 February 2018
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.