Osiris/API/TriggerRegisterForItems

From Divinity Engine Wiki
Revision as of 17:21, 21 February 2018 by Tinkerer (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call TriggerRegisterForItems((TRIGGERGUID)_Trigger)
Description

Ensures that whenever any item enters resp. leaves _Trigger, an ItemEnteredTrigger resp. ItemLeftTrigger event is thrown for this trigger/item combination, as well as an ItemTemplateEnteredTrigger resp. ItemTemplateLeftTrigger event.

Return Values
  • None
Notes
  • Unlike with character triggers, registering a trigger for items will not throw ItemEnteredTrigger/ItemTemplateEnteredTrigger events for all items already in that trigger.
  • Items in a character's inventory do not trigger this event when the character enters/exits the trigger.
See Also