ich suche ein kurzes Beispiel wie man ein Auswahlpunkt in ein Gespräch hinzufügen kann. Ihn meinem Fall wäre das mit eine Kapitän.
Nach etlichen Stunden probieren bin ich auf kein Ergebnis gekommen was ansatzweise funktioniert.
Hier mal mein Beispiel:
Code: Select all
<cue name="DefaultComm" instantiate="true" namespace="this">
<conditions>
<check_any>
<event_conversation_started conversation="default" />
<event_conversation_returned_to_section section="default" />
</check_any>
</conditions>
<actions>
<do_if value="not event.object.hasrelation.enemy.{faction.player}">
<do_if value="event.object.ship.exists">
<do_if value="event.object == event.object.ship.pilot">
<do_if value="event.object.isplayerowned">
<do_if value="event.object.ship.buildmodule">
<do_if value="not @event.object.ship.architect">
<add_player_choice_sub text="{5869,60}" section="gTestOne_CmdMenu" position="left" comment="ECMenu" selectable="(event.object.command.value != command.support)" />
</do_if>
</do_if>
</do_if>
</do_if>
</do_if>
</do_if>
</actions>
</cue>
<cue name="SectionHandler" instantiate="true" namespace="this" >
<conditions>
<check_any>
<event_conversation_next_section sectionprefix="gTestOne_" />
<event_conversation_returned_to_section sectionprefix="gTestOne_" />
</check_any>
</conditions>
<actions>
<do_if value="event.param == 'gTestOne_CmdMenu'">
<show_help force="true" custom="{5869,1}" duration="15s"/>
</do_if>
</actions>
</cue>
</cues>
Ich bin dankbar für alles was ein weiterhelfen ohne das ich alle Skripts selber studieren muss.
viele grüße
Lassi