Difference between revisions of "Osiris/API/CharacterGiveReward"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''CharacterGiveReward'''(''(CHARACTERGUID)'''''_Player''', ''(STRING)'''''_Treasure''', ''(INTEGER)'''''_Identified''') ===== Descriptio...")
 
 
Line 7: Line 7:
 
===== See Also =====
 
===== See Also =====
 
*[[Osiris/API/GenerateTreasure|GenerateTreasure]]
 
*[[Osiris/API/GenerateTreasure|GenerateTreasure]]
 +
*[[Osiris/API/CharacterGiveQuestReward|CharacterGiveQuestReward]]
 
*[[Treasure_Tables|Treasure Tables]]
 
*[[Treasure_Tables|Treasure Tables]]
  
[[Category:Osiris Calls|GenerateTreasure]]
+
[[Category:Osiris Calls|CharacterGiveReward]]

Latest revision as of 15:47, 8 January 2018

Full Definition(s)
  • call CharacterGiveReward((CHARACTERGUID)_Player, (STRING)_Treasure, (INTEGER)_Identified)
Description

Generates treasure from the _Treasure treasure table and puts the item(s) generated in the _Player's inventory. The level used for the treasure generation is always that of the _Player. If _Identified is 1, the items generated will all be identified. If _Identified is 0, they will not be.

Notes
  • Unlike GenerateTreasure, the level will be that of the _Player, not that of the highest member of their party.
See Also