Osiris/API/CharacterGiveReward
From Divinity Engine Wiki
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.