Difference between revisions of "Osiris/Shared/DB TrespassTrigger"
From Divinity Engine Wiki
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
* '''DB_TrespassTrigger'''(''(TRIGGERGUID)'''''_Trigger,'''''(TRIGGERGUID)'''''_OutTrigger''',''(STRING)'''''_CrimeName''',''(CHARACTERGUID)'''''_Victim''') | * '''DB_TrespassTrigger'''(''(TRIGGERGUID)'''''_Trigger,'''''(TRIGGERGUID)'''''_OutTrigger''',''(STRING)'''''_CrimeName''',''(CHARACTERGUID)'''''_Victim''') | ||
===== Description ===== | ===== 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 | + | 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 teleported to '''_OutTrigger'''. If '''_Victim''' is defined and non-null, then the crime triggered by entering the trespassing area will always be generated with '''_Victim''' as the victim of that crime. |
===== Notes ===== | ===== Notes ===== | ||
* / | * / | ||
===== See also ===== | ===== See also ===== | ||
− | * [[Osiris/Shared/DB_CheckPoint]] | + | * Helper [[Osiris/Shared/DB_CheckPoint|DB_CheckPoint]] |
− | [[Category:Osiris Shared Mod Helpers]] | + | [[Category:Osiris Shared Mod Helpers|TrespassTrigger]] |
Latest revision as of 15:54, 19 December 2017
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 teleported to _OutTrigger. If _Victim is defined and non-null, then the crime triggered by entering the trespassing area will always be generated with _Victim as the victim of that crime.
Notes
- /
See also
- Helper DB_CheckPoint