Osiris/API/ObjectSourcePointAddRequest

From Divinity Engine Wiki
Revision as of 15:15, 19 December 2017 by Tinkerer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • event ObjectSourcePointAddRequest((GUIDSTRING)_Target, (INTEGER)_Amount)
Description

Thrown for every attempt to add source to an object, even if the object cannot hold more source. It is thrown before the source has been added.

Parameters
  • _Target: The object to which source gets added. In case of a character, this means there is an attempt to add source points. In case of an item, this means there is an attempt to add charges.
  • _Amount: The number of source points/charges that is being added.
Notes
  • As mentioned in the description, this is triggered even when _Target currently already holds its maximum of source.
See Also
  • /