Osiris/API/ItemTemplateEnteredTrigger

From Divinity Engine Wiki
Revision as of 14:14, 19 December 2017 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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