Difference between revisions of "Osiris/API/CharacterSetCustomTradeTreasure"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
Line 2: Line 2:
 
* call '''CharacterSetCustomTradeTreasure'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Treasure''')
 
* call '''CharacterSetCustomTradeTreasure'''(''(CHARACTERGUID)'''''_Character''', ''(STRING)'''''_Treasure''')
 
===== Description =====
 
===== Description =====
Overrides the current default or previously set custom trade treasure table(s) for '''_Character''' with the table called '''_Treasure'''.
+
Overrides the current default or previously set custom [[Treasure_Tables|trade treasure table(s)]] for '''_Character''' with the table called '''_Treasure'''.
  
 
===== Notes =====
 
===== Notes =====
Line 12: Line 12:
 
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]]
 
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]]
 
* [[Osiris/API/GenerateItems|GenerateItems]]
 
* [[Osiris/API/GenerateItems|GenerateItems]]
 +
* [[Treasure_Tables|Treasure Table]]
  
 
[[Category:Osiris Calls|CharacterSetCustomTradeTreasure]]
 
[[Category:Osiris Calls|CharacterSetCustomTradeTreasure]]

Latest revision as of 10:29, 19 August 2018

Full Definition(s)
  • call CharacterSetCustomTradeTreasure((CHARACTERGUID)_Character, (STRING)_Treasure)
Description

Overrides the current default or previously set custom trade treasure table(s) for _Character with the table called _Treasure.

Notes
  • This call will not regenerate the trade treasure for _Character. Use GenerateItems to do so.
See Also