Osiris/API/CharacterCanTrade

From Divinity Engine Wiki
Revision as of 21:58, 18 August 2018 by Tinkerer (talk | contribs) (Documented CharacterCanTrade)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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