Osiris/API/CharacterGetAttribute

From Divinity Engine Wiki
Revision as of 17:04, 19 May 2018 by Tinkerer (talk | contribs) (Link CharacterAddAttribute and CharacteRemoveAttribute)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query CharacterGetAttribute([in](CHARACTERGUID)_Character, [in](STRING)_Attribute, [out](INTEGER)_Value)
Description

Returns how many points _Character has for the attribute _Attribute in _Value.

Return Values
  • Success/Failure: Fails if _Character does not exist, or if _Attribute is an invalid attribute name.
  • _Value: The value of _Attribute.
Notes
  • Valid attribute names are: Strength, Finesse, Constitution, Intelligence, Memory, and Wits.
See Also