Osiris/API/CharacterCanTrade

From Divinity Engine Wiki
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