Osiris/API/CharacterAddSourcePoints: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Created page with "===== Full Definition(s) ===== * call '''CharacterAddSourcePoints'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_Bool''') ===== Description ===== Adds a number of So...")
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===== Full Definition(s) =====
===== Full Definition(s) =====
* call '''CharacterAddSourcePoints'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_Bool''')
* call '''CharacterAddSourcePoints'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_Amount''')
===== Description =====
===== Description =====
Adds a number of Source Points to a character.
Adds '''_Amount''' Source Points to '''_Character'''.
===== Notes =====
===== Notes =====
* /
* This call will never increase the maximum source points '''_Character''' can hold.
* If you add more source points than the number of empty source slots of '''_Character''', the remainder will be added to source container items in '''_Character''''s inventory, if any.
===== See Also =====
===== See Also =====
* [[Osiris/API/CharacterOverrideMaxSourcePoints|CharacterOverrideMaxSourcePoints]]
* [[Osiris/API/CharacterOverrideMaxSourcePoints|CharacterOverrideMaxSourcePoints]]
* [[Osiris/API/ObjectSourcePointAddRequest|ObjectSourcePointAddRequest]]
    
    
[[Category:Osiris Calls]]
[[Category:Osiris Calls|CharacterAddSourcePoints]]

Latest revision as of 15:04, 19 December 2017

Full Definition(s)
  • call CharacterAddSourcePoints((CHARACTERGUID)_Character, (INTEGER)_Amount)
Description

Adds _Amount Source Points to _Character.

Notes
  • This call will never increase the maximum source points _Character can hold.
  • If you add more source points than the number of empty source slots of _Character, the remainder will be added to source container items in _Character's inventory, if any.
See Also