Difference between revisions of "Osiris/API/CharacterAddSourcePoints"
From Divinity Engine Wiki
m |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
===== Full Definition(s) ===== | ===== Full Definition(s) ===== | ||
− | * call '''CharacterAddSourcePoints'''(''(CHARACTERGUID)'''''_Character''', ''(INTEGER)''''' | + | * 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|CharacterAddSourcePoints]] |
Latest revision as of 16: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.