Osiris/API/ItemTemplateMoved

From Divinity Engine Wiki
Revision as of 15:33, 1 July 2018 by Tinkerer (talk | contribs) (Documented ItemTemplateMoved)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • event ItemTemplateMoved((STRING)_ItemTemplate, (ITEMGUID)_Item)
Description

Thrown under the same conditions as ItemMoved, but additionally also provides the root template of the moved item.

Parameters
  • _ItemTemplate: The root template of the moved item in the format TemplateName_UUID.
  • _Item: The item that moved.
Notes
  • See ItemMoved.
  • There is one corner case in which the ItemMoved event gets thrown, but not this event: if code cannot find the root template of the moved item. This might happen if a root template was deleted of an item that already existed in a savegame. Doing so is not allowed though, so in normally this will never happen.
See Also