Difference between revisions of "Osiris/API/CharacterAddSourcePoints"
From Divinity Engine Wiki
m |
|||
Line 2: | Line 2: | ||
* call '''CharacterAddSourcePoints'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_Amount''') | * call '''CharacterAddSourcePoints'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)'''''_Amount''') | ||
===== Description ===== | ===== Description ===== | ||
− | Adds | + | 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]] |
Revision as of 15:14, 25 November 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.