Osiris/API/CharacterGiveReward

From Divinity Engine Wiki
Revision as of 15:47, 8 January 2018 by LarIlya (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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