Difference between revisions of "Osiris/API/CharacterGetAttribute"
From Divinity Engine Wiki
m |
m (Link CharacterAddAttribute and CharacteRemoveAttribute) |
||
Line 9: | Line 9: | ||
* Valid attribute names are: '''Strength''', '''Finesse''', '''Constitution''', '''Intelligence''', '''Memory''', and '''Wits'''. | * Valid attribute names are: '''Strength''', '''Finesse''', '''Constitution''', '''Intelligence''', '''Memory''', and '''Wits'''. | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[Osiris/API/CharacterAddAttribute|CharacterAddAttribute]] | ||
+ | * [[Osiris/API/CharacterRemoveAttribute|CharacterRemoveAttribute]] | ||
* Helper [[Osiris/Shared/DB_GLO_Attribute_Check_AgainstLevel]] | * Helper [[Osiris/Shared/DB_GLO_Attribute_Check_AgainstLevel]] | ||
* Helper [[Osiris/Shared/DB_GLO_Attribute_Check_AgainstSpeaker]] | * Helper [[Osiris/Shared/DB_GLO_Attribute_Check_AgainstSpeaker]] | ||
[[Category:Osiris Queries|CharacterGetAttribute]] | [[Category:Osiris Queries|CharacterGetAttribute]] |
Latest revision as of 16:04, 19 May 2018
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.