Difference between revisions of "Osiris/API/CharacterSetCustomTradeTreasure"

From Divinity Engine Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
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 =====
 
* This call will not regenerate the trade treasure for '''_Character'''. Use [[Osiris/API/GenerateItems|GenerateItems]] to do so.
 
* This call will not regenerate the trade treasure for '''_Character'''. Use [[Osiris/API/GenerateItems|GenerateItems]] to do so.
 
===== See Also =====
 
===== See Also =====
* [[Osiris/API/ActivateTrade|ActivateTrade]]
 
 
* [[Osiris/API/CharacterCanTrade|CharacterCanTrade]]
 
* [[Osiris/API/CharacterCanTrade|CharacterCanTrade]]
 
* [[Osiris/API/CharacterClearTradeGeneratedItems|CharacterClearTradeGeneratedItems]]
 
* [[Osiris/API/CharacterClearTradeGeneratedItems|CharacterClearTradeGeneratedItems]]
Line 13: Line 12:
 
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]]
 
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]]
 
* [[Osiris/API/GenerateItems|GenerateItems]]
 
* [[Osiris/API/GenerateItems|GenerateItems]]
* [[Osiris/API/GenerateTreasure|GenerateTreasure]]
+
* [[Treasure_Tables|Treasure Table]]
* [[Osiris/API/ItemAddedToCharacter|ItemAddedToCharacter]]
 
* [[Osiris/API/ItemTemplateAddedToCharacter|ItemTemplateAddedToCharacter]]
 
* [[Osiris/API/RequestTrade|RequestTrade]]
 
* [[Osiris/API/TradeEnds|TradeEnds]]
 
* [[Osiris/API/TradeGenerationEnded|TradeGenerationEnded]]
 
* [[Osiris/API/TradeGenerationStarted|TradeGenerationStarted]]
 
  
 
[[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