Difference between revisions of "Osiris/API/ItemTemplateEnteredTrigger"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented ItemTemplateEnteredTrigger)
 
m
 
Line 17: Line 17:
 
* [[Osiris/API/TriggerUnregisterForItems|TriggerUnregisterForItems]]
 
* [[Osiris/API/TriggerUnregisterForItems|TriggerUnregisterForItems]]
 
   
 
   
[[Category:Osiris Events]]
+
[[Category:Osiris Events|ItemTemplateEnteredTrigger]]

Latest revision as of 15:14, 19 December 2017

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