Osiris/API/ItemTemplateEnteredTrigger

From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • event ItemTemplateEnteredTrigger((STRING)_ItemTemplate, (TRIGGERGUID)__Trigger, (CHARACTERGUID)_Owner, (CHARACTERGUID)_Mover)
Description

Thrown when an item is placed in a trigger that has been registered for item events.

Parameters
  • _ItemTemplate: string-representation of the root template UUID of the item that entered the trigger.
  • _Trigger: the trigger that the item entered.
  • _Owner: the item's owner, if any (NULL otherwise).
  • _Mover: the character that moved the item there (if any; can be NULL in case of e.g. a TeleportTo story call).
Notes
  • Unlike with character triggers, registering a trigger for items will not throw this event for all items already in that trigger.
See Also