From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • event CharacterDestroyedItem((CHARACTERGUID)_Defender, (ITEMGUID)_Item)
  • Thrown when a character destroys an item.
  • _Character: The character that destroyed the item.
  • _Item: The item that was destroyed.
  • _Character is never NULL. If the character triggering the destruction of the item is not know (or if it was not destroyed by a character), this event does not get thrown. If you wish to catch all item destruction events, catch ItemDestroyed instead.
  • In spite of what the name suggests, this event gets thrown when the destruction of the item starts, right after it entered the destroying state.
See Also