Osiris/API/CharacterAddAttribute

From Divinity Engine Wiki
Revision as of 16:01, 19 May 2018 by Tinkerer (talk | contribs) (Documented CharacterAddAttribute)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call CharacterAddAttribute((CHARACTERGUID)_Character, (STRING)_Attribute, (INTEGER)_Value)
Description

Adds _Value number of attribute points to the attribute _Attribute of character _Character.

Notes
  • See CharacterGetAttribute for the list of valid attribute names.
  • If _Value is negative, the effect is the same as using CharacterRemoveAttribute with the absolute value of _Value.
  • If _Character or _Attribute are invalid, this call does nothing.
See Also