Osiris/Shared/DB TrespassTrigger

From Divinity Engine Wiki
Revision as of 14:56, 8 August 2017 by Tinkerer (talk | contribs) (Osiris Helper Mod APIs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • DB_TrespassTrigger((TRIGGERGUID)_Trigger,(TRIGGERGUID)_OutTrigger)
  • DB_TrespassTrigger((TRIGGERGUID)_Trigger,(TRIGGERGUID)_OutTrigger,(STRING)_CrimeName)
  • DB_TrespassTrigger((TRIGGERGUID)_Trigger,(TRIGGERGUID)_OutTrigger,(STRING)_CrimeName,(CHARACTERGUID)_Victim)
Description

Defines that a player entering _Trigger should generate a _CrimeName crime (Trespassing if unspecified). If a player gets caught in the trespassing area and after the dialog with the investigator the TeleportOutOfTrespass flag is set on the player, they will be teleport _OutTrigger. If _Victim is defined and non-null, when the crime caused entering the trespassing area will always be generated with _Victim as the victim of that crime.

Notes
  • /

See also


  • DB_CheckPoint