From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • event ItemAddedToCharacter((ITEMGUID)_Item, (CHARACTERGUID)_Character)

Thrown when an item is added to a character's inventory or equipment.

  • _Item: the item that was added.
  • _Character: the character to whose inventory/equipment it was added.
  • Editor bug: If you assign an item or item root template via the side bar, this event will only be thrown the first time that character's inventory gets accessed (e.g. because you activated trading, or because you started pickpocketing the character). This also affects the related Shared helpers (see below), as they piggyback on this event. All of this works correctly in the game itself.
See Also