Difference between revisions of "Osiris/API/CharacterEnteredTrigger"
From Divinity Engine Wiki
m (Removed gremlin |) |
m (Also removed link to TriggerRegisterForCharacter from description) |
||
Line 2: | Line 2: | ||
* event '''CharacterEnteredTrigger'''(''(CHARACTERGUID)'''''_Character''', ''(TRIGGERGUID)'''''__Trigger''') | * event '''CharacterEnteredTrigger'''(''(CHARACTERGUID)'''''_Character''', ''(TRIGGERGUID)'''''__Trigger''') | ||
===== Description ===== | ===== Description ===== | ||
− | Thrown when a character enters a trigger that was | + | Thrown when a character enters a trigger that was registered for it previously. |
===== Parameters ===== | ===== Parameters ===== | ||
* '''_Character''': the character that entered the trigger. | * '''_Character''': the character that entered the trigger. |
Revision as of 14:55, 14 October 2017
Full Definition(s)
- event CharacterEnteredTrigger((CHARACTERGUID)_Character, (TRIGGERGUID)__Trigger)
Description
Thrown when a character enters a trigger that was registered for it previously.
Parameters
- _Character: the character that entered the trigger.
- _Trigger: the trigger in which the character entered.
Notes
- If you register a trigger for a character while the character is currently inside the trigger, this event will also be thrown.
- If a trigger has been registered for several characters and you wish to check which of those characters are currently in it, use the DB_InRegion() database.