Ok, here is the code, I can't find the way to create this #*$\ menu.. I think i'll need to take a nap
Here the code
Code: Select all
<add_player_choice_sub position="top_right" text="{1002,12220}" comment="Ask for: Trade offer updates - menu" section="gTradeAgent_Start" selectable="not event.object.container.hastradesubscription" baseparam="event.param2"/>
Here I set the submenu to access to the confirmation
Code: Select all
<cue name="TradeAgentBix" instantiate="true">
<conditions>
<check_any>
<event_conversation_started sectionprefix="gTradeAgent_" actor="$actor" />
<event_conversation_returned_to_section sectionprefix="gTradeAgent_" actor="$actor" />
</check_any>
</conditions>
<actions>
<do_if value="event.param == 'gTradeAgent_Start'">
<add_player_choice_sub position="top_left" text="Confirm" comment="Search in T files" section="gTradeAgent_rewardTradeUpdates" selectable="player.money gt 100000Cr" />
<add_player_choice_return text="{1002,20}" position="bottom_right" comment="Back"/>
</do_if>
</actions>
</cue>
<cue name="RewardTradeUpdatesFinishedHandler" instantiate="true" namespace="this">
<conditions>
<!--<event_conversation_finished outcome="gTradeAgent_rewardTradeUpdates" />-->
<event_conversation_next_section sectionprefix="gTradeAgent_rewardTradeUpdates"/>
</conditions>
<actions>
<do_if value="event.param == 'gTradeAgent_rewardTradeUpdates'">
<add_trade_subscription object="event.object.container" />
<show_help line="350" comment="Your ship computer database will automatically be updated with trade offers from this station." log="false" position="8" />
<add_npc_line line="4119" comment="Sure" />
<reward_player money="-10000000Cr"/>
</do_if>
</actions>
</cue>
And here I set the Confirm option and back + the trade subscrption.
But.. No submenu at all
edit :
FACEPALM