Difference between revisions of "Osiris/API/RequestTrade"
From Divinity Engine Wiki
m |
m |
||
Line 11: | Line 11: | ||
* [[Osiris/API/ActivateTrade|ActivateTrade]] | * [[Osiris/API/ActivateTrade|ActivateTrade]] | ||
* [[Osiris/API/CharacterCanTrade|CharacterCanTrade]] | * [[Osiris/API/CharacterCanTrade|CharacterCanTrade]] | ||
− | |||
− | |||
* [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]] | * [[Osiris/API/CharacterSetCanTrade|CharacterSetCanTrade]] | ||
− | |||
* [[Osiris/API/ExecuteDeal|ExecuteDeal]] | * [[Osiris/API/ExecuteDeal|ExecuteDeal]] | ||
* [[Osiris/API/GenerateItems|GenerateItems]] | * [[Osiris/API/GenerateItems|GenerateItems]] | ||
− | |||
* [[Osiris/API/HappyWithDeal|HappyWithDeal]] | * [[Osiris/API/HappyWithDeal|HappyWithDeal]] | ||
− | |||
− | |||
* [[Osiris/API/TradeEnds|TradeEnds]] | * [[Osiris/API/TradeEnds|TradeEnds]] | ||
− | |||
− | |||
[[Category:Osiris Events|RequestTrade]] | [[Category:Osiris Events|RequestTrade]] |
Latest revision as of 10:31, 19 August 2018
Full Definition(s)
- event RequestTrade((CHARACTERGUID)_Character, (CHARACTERGUID)_Trader)
Description
Thrown when a player performs the user interface action to start trading with an NPC from a dialogue.
Parameters
- _Character: the player character that wants to trade.
- _Trader: the NPC with whom the player wants to trade.
Notes
- You have to call ActivateTrade in response to this event for trading to actually start. This works by default in all mods as the Shared mod (which all mods depend) contains code to do this.