Difference between revisions of "Osiris/API/ObjectSourcePointAddRequest"

From Divinity Engine Wiki
Jump to: navigation, search
(Osiris Core APIs)
(No difference)

Revision as of 15:52, 8 August 2017

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
  • /