Osiris/API/ItemAddedToCharacter

From Divinity Engine Wiki
Revision as of 11:20, 14 February 2018 by Tinkerer (talk | contribs) (Documented ItemAddedToCharacter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • event ItemAddedToCharacter((ITEMGUID)_Item, (CHARACTERGUID)_Character)
Description

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

Parameters
  • _Item: the item that was added.
  • _Character: the character to whose inventory/equipment it was added.
Notes
  • 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.
See Also