Difference between revisions of "Osiris/API/CharacterCanTrade"

From Divinity Engine Wiki
Jump to: navigation, search
(Documented CharacterCanTrade)
 
m
 
Line 11: Line 11:
 
* [[Osiris/API/ActivateTrade|ActivateTrade]]
 
* [[Osiris/API/ActivateTrade|ActivateTrade]]
 
* [[Osiris/API/CharacterClearTradeGeneratedItems|CharacterClearTradeGeneratedItems]]
 
* [[Osiris/API/CharacterClearTradeGeneratedItems|CharacterClearTradeGeneratedItems]]
* [[Osiris/API/CharacterGiveReward|CharacterGiveReward]]
 
 
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]]
 
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]]
 
* [[Osiris/API/CharacterSetCustomTradeTreasure|CharacterSetCustomTradeTreasure]]
 
* [[Osiris/API/CharacterSetCustomTradeTreasure|CharacterSetCustomTradeTreasure]]
* [[Osiris/API/GenerateItems|GenerateItems]]
 
* [[Osiris/API/GenerateTreasure|GenerateTreasure]]
 
* [[Osiris/API/ItemAddedToCharacter|ItemAddedToCharacter]]
 
* [[Osiris/API/ItemTemplateAddedToCharacter|ItemTemplateAddedToCharacter]]
 
 
* [[Osiris/API/RequestTrade|RequestTrade]]
 
* [[Osiris/API/RequestTrade|RequestTrade]]
* [[Osiris/API/TradeEnds|TradeEnds]]
 
* [[Osiris/API/TradeGenerationEnded|TradeGenerationEnded]]
 
* [[Osiris/API/TradeGenerationStarted|TradeGenerationStarted]]
 
 
    
 
    
 
[[Category:Osiris Queries|CharacterCanTrade]]
 
[[Category:Osiris Queries|CharacterCanTrade]]

Latest revision as of 10:28, 19 August 2018

Full Definition(s)
  • query CharacterCanTrade([in](CHARACTERGUID)_Trader, [out](INTEGER)_Bool)
Description

Returns whether players can initiate trading with the NPC _Trader during dialogues.

Return Values
  • Success/Failure: Fails if _Trader does not exist.
  • _Bool: 1 or 0 depending on whether players currently can or cannot initiate trades with _Trader.
Notes
See Also