Osiris/API/CharacterAddTalent: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
mNo edit summary
(CharacterAddTalent only works for characters with player data)
 
Line 2: Line 2:
* call '''CharacterAddTalent'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Talent''')
* call '''CharacterAddTalent'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Talent''')
===== Description =====
===== Description =====
Adds '''_Talent''' to '''_Character'''.
Adds '''_Talent''' to player character '''_Character'''.
===== Notes =====
===== Notes =====
* This call only works for characters with player data (characters that are a player, or at one point were a player during the current game).
* The list of talents can be found here: [[Scripting_talent_types|Scripting talent types]].
* The list of talents can be found here: [[Scripting_talent_types|Scripting talent types]].
* If the Talent to be added or the Character are not valid, nothing happens.
* If the Talent to be added or the Character are not valid, nothing happens.

Latest revision as of 11:22, 17 September 2018

Full Definition(s)
  • call CharacterAddTalent((CHARACTERGUID)_Character, (STRING)_Talent)
Description

Adds _Talent to player character _Character.

Notes
  • This call only works for characters with player data (characters that are a player, or at one point were a player during the current game).
  • The list of talents can be found here: Scripting talent types.
  • If the Talent to be added or the Character are not valid, nothing happens.
See Also