understanding the trader menu - help needed
Posted: Wed, 17. Jul 19, 03:34
I need to understand how the md/NPC_ItemTrader works.
When you press that option, it's goes to 'section' code. What is choiceparm and baseparm2's purpose?
Where is the input and output? parm is the input? param2 is output for what button you select.
I need help how the data input and output is flowing.
Code: Select all
<add_player_choice_sub text="readtext.{1002}.{$PlayerChoiceText}" section="cItemtrader_wares" position="top_left" choiceparam="[0, 0, $actor, $WareType, $WareList]" baseparam="event.param2" />
Code: Select all
<add_conversation_view view="closeupdetailmonitor" />
<open_conversation_menu menu="TraderTransferMenu" param="event.param2" param2="event.param3" />
Code: Select all
<add_conversation_view view="closeupdetailmonitor" />
<open_conversation_menu menu="TraderTransferMenu" param="event.param2" param2="event.param3" />
Where is the input and output? parm is the input? param2 is output for what button you select.
I need help how the data input and output is flowing.