Difference between revisions of "Osiris/API/CharacterClearTradeGeneratedItems"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented CharacterClearTradeGeneratedItems)
 
m
Line 2: Line 2:
 
* call '''CharacterClearTradeGeneratedItems'''(''(CHARACTERGUID)'''''_Character''')
 
* call '''CharacterClearTradeGeneratedItems'''(''(CHARACTERGUID)'''''_Character''')
 
===== Description =====
 
===== Description =====
Clears "existing, unsold treasure" from '''_Character''''s inventory. "Existing, unsold treasure" consists of all items generated by the [[Osiris/API/GenerateTreasure|GenerateTreasure]] call, or generated by treasure generation on dying, which have not yet been removed from the character's inventory at the time this operation is performed. One exception is unique items: these are never removed by this call.
+
Clears "existing, unsold treasure" from '''_Character''''s inventory. "Existing, unsold treasure" consists of all items generated by the [[Osiris/API/GenerateTreasure|GenerateTreasure]] call, or generated by treasure generation on dying, which have not yet been removed from the character's inventory at the time this operation is performed, and which the character did not have equipped either. One exception is unique items: these are never removed by this call.
  
 
===== Notes =====
 
===== Notes =====

Revision as of 23:57, 18 August 2018

Full Definition(s)
  • call CharacterClearTradeGeneratedItems((CHARACTERGUID)_Character)
Description

Clears "existing, unsold treasure" from _Character's inventory. "Existing, unsold treasure" consists of all items generated by the GenerateTreasure call, or generated by treasure generation on dying, which have not yet been removed from the character's inventory at the time this operation is performed, and which the character did not have equipped either. One exception is unique items: these are never removed by this call.

Notes
  • /
See Also