Difference between revisions of "Osiris/API/CharacterCanTrade"
From Divinity Engine Wiki
(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/CharacterSetCanTrade|CharacterSetCanTrade]] | * [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]] | ||
* [[Osiris/API/CharacterSetCustomTradeTreasure|CharacterSetCustomTradeTreasure]] | * [[Osiris/API/CharacterSetCustomTradeTreasure|CharacterSetCustomTradeTreasure]] | ||
− | |||
− | |||
− | |||
− | |||
* [[Osiris/API/RequestTrade|RequestTrade]] | * [[Osiris/API/RequestTrade|RequestTrade]] | ||
− | |||
− | |||
− | |||
[[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 CharacterSetCanTrade.