Osiris/API/ItemMoved

From Divinity Engine Wiki
Revision as of 15:24, 1 July 2018 by Tinkerer (talk | contribs)
Jump to: navigation, search
Full Definition(s)
  • event ItemMoved((ITEMGUID)_Item)
Description

Thrown whenever an item has moved for one of the following reasons:

Parameters
  • _Item: The item that moved.
Notes
  • This event does not get thrown when an item is moved from one inventory/container to another. Catch the ItemMovedFromTo to check such operations.
  • Even if a story or behaviour script movement operation does not actually cause the item to move (because it was moved to its current position), this event will still be thrown.
  • These event will only be thrown at the end of a movement operation. Because item movements are not queued and instead new movement operations will replace old ones, you will receive only once ItemMoved event if you start an item movement operation (any from the list above) while a previous one was still ongoing.
See Also