Kyren
16.01.2010, 14:34
Schönen Nachmittag!
Ich hatte zwar gehofft mit dem Menü nicht hier posten zu müssen, aber... Nach ein paar Stunden Fehlersuche ohne Erfolg sollt ich mir wohl Fachkundige Hilfe suchen.
Es geht um folgendes Menü:Link (http://www.npshare.de/files/61960bd4/kommandoschirm1.JPG)
Und zwar um die linke Hälfte davon, auf der man 8 Soldaten ihrer jeweiligen Gruppe zuordnen kann.(oder können sollte..)
Und zwar über folgendes Zusatzmenü: Bild (http://www.npshare.de/files/898f8792/kommandoschirm2.JPG)
Die beiden Soldaten (In der geplanten Version würdens erstmal 8 sein, später dann 12..) lassen sich problemlos in die einzelnen Kästchen stecken, das Problem liegt bei folgenden: Bild (http://www.npshare.de/files/c37f971a/kommandoschirm3.JPG)
Soldat 1, Kyren lässt sich problemlos durch Soldat 2, Sinard ersetzen. Umgekehrt funktioniert es aber nicht, obwohl der Code der selbe ist. Soweit ich das beurteilen/herausfinden konnte wird die Bedingung ignoriert die abfragt ob Soldat Sinard auf Platz 1 ist, wenn Soldat Kyren auf Platz 1 gesetzt werden soll. Eigentlich sollten dann die Sinardbilder & Variablen gelöscht und durch Kyrens ersetzt werden.. aber das spielts so leider nicht.
Der Code ist leider eine ganze Menge, ich arbeite noch nicht lange damit, bitte also darum mir Fehler nachzusehen und aufzuzeigen.
Der Code:
Die Menüsteuerung des Zusatzmenüs(der Vollständigkeit halber, die dürfte eigentlich Fehlerfrei sein..):
Anm: Die Gruppeneinteilung bezieht sich auf die Menüpunkte des vorhergehenden Menüs, dessen Code ich hier nicht gepostet habe! (0-3 sind die Felder links oben, 4-7 die Felder links unten)
- SCRIPT -
<> Show Picture: #9, kommandomenu_zusatzmenu, (230, 126), Mgn 100%, Tsp 0%, No trans. color
<> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 38), Mgn 100%, Tsp 0%
<> Show Picture: #11, kommandomenu_kyren, (170, 38), Mgn 100%, Tsp 0%
<> Show Picture: #12, kommandomenu_klasse_hauptmann, (270, 38), Mgn 100%, Tsp 0%
<> Show Picture: #13, kommandomenu_sinard, (170, 54), Mgn 100%, Tsp 0%
<> Show Picture: #14, kommandomenu_zusatzmenu_spaeher, (270, 54), Mgn 100%, Tsp 0%
<> Change Variable: [5] = 17
<> Loop
. <> Wait: 0,0 sec.
. <> Comment: ----Zusatzmenüsteuerung----
. <> Comment: Auswahl startet bei obersten Zusatzmenüfeld
. <> Comment: ------Menüpunkt 1 -> Hinunter zu Menüpunkt 2----
. <> Key Input Processing: Var. [4], Wait until key pressed, Keys: Directional keys, Decision, Cancel
. <> Fork Condition: If Variable [5] == 17 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 54), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 18
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 2 -> Hinauf zu Menüpunkt 1----
. <> Fork Condition: If Variable [5] == 18 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 38), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 17
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 2-> Hinunter zu Menüpunkt 3----
. <> Fork Condition: If Variable [5] == 18 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 70), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 19
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 3 -> Hinauf zu Menüpunkt 2----
. <> Fork Condition: If Variable [5] == 19 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 54), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 18
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 3 -> Hinunter zu Menüpunkt 4
. <> Fork Condition: If Variable [5] == 19 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 86), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 20
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 4 -> Hinauf zu Menüpunkt 3
. <> Fork Condition: If Variable [5] == 20 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 70), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 19
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 4 -> Hinunter zu Menüpunkt 5(6)
. <> Fork Condition: If Variable [5] == 20 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 102), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 22
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 5 -> Hinauf zu Menüpunkt 4
. <> Fork Condition: If Variable [5] == 21 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 86), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 20
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 5-> hinunter zu Menüpunkt 6
. <> Fork Condition: If Variable [5] == 21 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 118), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 22
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 6-> hinauf zu Menüpunkt 5(4)
. <> Fork Condition: If Variable [5] == 22 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 86), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 20
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 6-> hinunter zu Menüpunkt 7
. <> Fork Condition: If Variable [5] == 22 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 118), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 23
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 7-> hinauf zu Menüpunkt 6
. <> Fork Condition: If Variable [5] == 23 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 102), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 22
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 7-> hinunter zu Menüpunkt 8
. <> Fork Condition: If Variable [5] == 23 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 134), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 24
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 8-> hinauf zu Menüpunkt 7
. <> Fork Condition: If Variable [5] == 24 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 118), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 23
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 8-> hinunter zu Menüpunkt 9
. <> Fork Condition: If Variable [5] == 24 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 150), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 25
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 9-> hinauf zu Menüpunkt 8
. <> Fork Condition: If Variable [5] == 25 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 134), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 24
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 9-> hinunter zu Menüpunkt 10
. <> Fork Condition: If Variable [5] == 25 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 166), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 26
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 10-> hinauf zu Menüpunkt 9
. <> Fork Condition: If Variable [5] == 26 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 150), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 25
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 10-> hinunter zu Menüpunkt 11
. <> Fork Condition: If Variable [5] == 26 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 182), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 27
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 11-> hinauf zu Menüpunkt 10
. <> Fork Condition: If Variable [5] == 27 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 166), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 26
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 11-> hinunter zu Menüpunkt 12
. <> Fork Condition: If Variable [5] == 27 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 198), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 28
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 12-> hinauf zu Menüpunkt 11
. <> Fork Condition: If Variable [5] == 28 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 182), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 27
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 12-> hinunter zu Menüpunkt 13
. <> Fork Condition: If Variable [5] == 28 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 214), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 29
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 13-> hinauf zu Menüpunkt 12
. <> Fork Condition: If Variable [5] == 29 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 198), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 28
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
Die Befehle für das setzen der Gruppen und Bilder der Soldaten, das Überschreiben von Soldat 2 durch Soldat 1 funktioniert, umgekehrt gehts aber nicht! Hier muss also irgendwo der Fehler liegen..
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ----------------------------------------Soldat 1--------------------------------------------------
. <> Comment: -----Soldat 1 einer Gruppe hinzufügen-----
. <> Fork Condition: If Variable [5] == 17 then ...
. . <> Fork Condition: If Variable [4] == 5 then ...
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 5 then ...
. . . . <> Fork Condition: If Variable [32] <= 8 then ...
. . . . . <> Change Variable: [21] = 2
. . . . . <> Fork Condition: If Variable [32] == 5 then ...
. . . . . . <> Change Variable: [33] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 6 then ...
. . . . . . <> Change Variable: [33] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 7 then ...
. . . . . . <> Change Variable: [33] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 8 then ...
. . . . . . <> Change Variable: [33] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Switch: [24] = ON
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 0 then ...
. . . . <> Fork Condition: If Variable [32] <= 4 then ...
. . . . . <> Change Variable: [21] = 1
. . . . . <> Fork Condition: If Variable [32] == 1 then ...
. . . . . . <> Change Variable: [33] = 1
. . . . . . <> Change Variable: [206] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 2 then ...
. . . . . . <> Change Variable: [33] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 3 then ...
. . . . . . <> Change Variable: [33] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 4 then ...
. . . . . . <> Change Variable: [33] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [21] == 1 then ...
. . <> Fork Condition: If Variable [33] == 1 then ...
. . . <> Fork Condition: If Variable [206] == 2 then ...
. . . . <> Change Variable: [22] = 0
. . . . <> Change Variable: [34] = 0
. . . . <> Erase Picture: #19
. . . . <> Erase Picture: #20
. . . . <> Change Variable: [206] = 1
. . . . <>
. . . : End of fork
. . . <> Fork Condition: If Variable [33] == 1 then ...
. . . . <> Show Picture: #19, kommandomenu_sinard, (20, 56), Mgn 100%, Tsp 0%
. . . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 56), Mgn 100%, Tsp 0%
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 2 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 72), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 72), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 3 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 88), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 88), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 4 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 104), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 104), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [21] == 2 then ...
. . <> Fork Condition: If Variable [33] == 1 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 167), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 167), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 2 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 183), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 183), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 3 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 199), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 199), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 4 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 215), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 215), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ----------------------------------------Soldat 2--------------------------------------------------
. <> Comment: -----Soldat 2 einer Gruppe hinzufügen-----
. <> Fork Condition: If Variable [5] == 18 then ...
. . <> Fork Condition: If Variable [4] == 5 then ...
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 5 then ...
. . . . <> Fork Condition: If Variable [32] <= 8 then ...
. . . . . <> Change Variable: [22] = 2
. . . . . <> Fork Condition: If Variable [32] == 5 then ...
. . . . . . <> Change Variable: [34] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 6 then ...
. . . . . . <> Change Variable: [34] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 7 then ...
. . . . . . <> Change Variable: [34] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 8 then ...
. . . . . . <> Change Variable: [34] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 0 then ...
. . . . <> Fork Condition: If Variable [32] <= 4 then ...
. . . . . <> Change Variable: [22] = 1
. . . . . <> Fork Condition: If Variable [32] == 1 then ...
. . . . . . <> Change Variable: [34] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 2 then ...
. . . . . . <> Change Variable: [34] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 3 then ...
. . . . . . <> Change Variable: [34] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 4 then ...
. . . . . . <> Change Variable: [34] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [22] == 1 then ...
. . <> Fork Condition: If Variable [34] == 1 then ...
. . . <> Fork Condition: If Variable [206] == 1 then ...
. . . . <> Change Variable: [21] = 0
. . . . <> Change Variable: [33] = 0
. . . . <> Erase Picture: #17
. . . . <> Erase Picture: #18
. . . . <> Change Variable: [206] = 2
. . . . <>
. . . : End of fork
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 56), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 56), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 2 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 72), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 72), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 3 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 88), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 88), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 4 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 104), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 104), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [22] == 2 then ...
. . <> Fork Condition: If Variable [34] == 1 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 167), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 167), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 2 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 183), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 183), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 3 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 199), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 199), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 4 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 215), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 215), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: --------Zusatzmenü schließen----
. <> Fork Condition: If Variable [5] >= 17 then ...
. . <> Fork Condition: If Variable [5] <= 29 then ...
. . . <> Fork Condition: If Variable [4] == 6 then ...
. . . . <> Erase Picture: #9
. . . . <> Erase Picture: #10
. . . . <> Erase Picture: #11
. . . . <> Erase Picture: #12
. . . . <> Erase Picture: #13
. . . . <> Erase Picture: #14
. . . . <> Change Variable: [5] = 0
. . . . <> Change Variable: [4] = 0
. . . . <> Change Switch: [27] = OFF
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of loop
Ich hatte zwar gehofft mit dem Menü nicht hier posten zu müssen, aber... Nach ein paar Stunden Fehlersuche ohne Erfolg sollt ich mir wohl Fachkundige Hilfe suchen.
Es geht um folgendes Menü:Link (http://www.npshare.de/files/61960bd4/kommandoschirm1.JPG)
Und zwar um die linke Hälfte davon, auf der man 8 Soldaten ihrer jeweiligen Gruppe zuordnen kann.(oder können sollte..)
Und zwar über folgendes Zusatzmenü: Bild (http://www.npshare.de/files/898f8792/kommandoschirm2.JPG)
Die beiden Soldaten (In der geplanten Version würdens erstmal 8 sein, später dann 12..) lassen sich problemlos in die einzelnen Kästchen stecken, das Problem liegt bei folgenden: Bild (http://www.npshare.de/files/c37f971a/kommandoschirm3.JPG)
Soldat 1, Kyren lässt sich problemlos durch Soldat 2, Sinard ersetzen. Umgekehrt funktioniert es aber nicht, obwohl der Code der selbe ist. Soweit ich das beurteilen/herausfinden konnte wird die Bedingung ignoriert die abfragt ob Soldat Sinard auf Platz 1 ist, wenn Soldat Kyren auf Platz 1 gesetzt werden soll. Eigentlich sollten dann die Sinardbilder & Variablen gelöscht und durch Kyrens ersetzt werden.. aber das spielts so leider nicht.
Der Code ist leider eine ganze Menge, ich arbeite noch nicht lange damit, bitte also darum mir Fehler nachzusehen und aufzuzeigen.
Der Code:
Die Menüsteuerung des Zusatzmenüs(der Vollständigkeit halber, die dürfte eigentlich Fehlerfrei sein..):
Anm: Die Gruppeneinteilung bezieht sich auf die Menüpunkte des vorhergehenden Menüs, dessen Code ich hier nicht gepostet habe! (0-3 sind die Felder links oben, 4-7 die Felder links unten)
- SCRIPT -
<> Show Picture: #9, kommandomenu_zusatzmenu, (230, 126), Mgn 100%, Tsp 0%, No trans. color
<> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 38), Mgn 100%, Tsp 0%
<> Show Picture: #11, kommandomenu_kyren, (170, 38), Mgn 100%, Tsp 0%
<> Show Picture: #12, kommandomenu_klasse_hauptmann, (270, 38), Mgn 100%, Tsp 0%
<> Show Picture: #13, kommandomenu_sinard, (170, 54), Mgn 100%, Tsp 0%
<> Show Picture: #14, kommandomenu_zusatzmenu_spaeher, (270, 54), Mgn 100%, Tsp 0%
<> Change Variable: [5] = 17
<> Loop
. <> Wait: 0,0 sec.
. <> Comment: ----Zusatzmenüsteuerung----
. <> Comment: Auswahl startet bei obersten Zusatzmenüfeld
. <> Comment: ------Menüpunkt 1 -> Hinunter zu Menüpunkt 2----
. <> Key Input Processing: Var. [4], Wait until key pressed, Keys: Directional keys, Decision, Cancel
. <> Fork Condition: If Variable [5] == 17 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 54), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 18
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 2 -> Hinauf zu Menüpunkt 1----
. <> Fork Condition: If Variable [5] == 18 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 38), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 17
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 2-> Hinunter zu Menüpunkt 3----
. <> Fork Condition: If Variable [5] == 18 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 70), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 19
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 3 -> Hinauf zu Menüpunkt 2----
. <> Fork Condition: If Variable [5] == 19 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 54), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 18
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 3 -> Hinunter zu Menüpunkt 4
. <> Fork Condition: If Variable [5] == 19 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 86), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 20
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 4 -> Hinauf zu Menüpunkt 3
. <> Fork Condition: If Variable [5] == 20 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 70), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 19
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 4 -> Hinunter zu Menüpunkt 5(6)
. <> Fork Condition: If Variable [5] == 20 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 102), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 22
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 5 -> Hinauf zu Menüpunkt 4
. <> Fork Condition: If Variable [5] == 21 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 86), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 20
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 5-> hinunter zu Menüpunkt 6
. <> Fork Condition: If Variable [5] == 21 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 118), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 22
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 6-> hinauf zu Menüpunkt 5(4)
. <> Fork Condition: If Variable [5] == 22 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 86), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 20
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 6-> hinunter zu Menüpunkt 7
. <> Fork Condition: If Variable [5] == 22 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 118), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 23
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 7-> hinauf zu Menüpunkt 6
. <> Fork Condition: If Variable [5] == 23 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 102), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 22
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 7-> hinunter zu Menüpunkt 8
. <> Fork Condition: If Variable [5] == 23 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 134), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 24
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 8-> hinauf zu Menüpunkt 7
. <> Fork Condition: If Variable [5] == 24 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 118), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 23
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 8-> hinunter zu Menüpunkt 9
. <> Fork Condition: If Variable [5] == 24 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 150), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 25
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 9-> hinauf zu Menüpunkt 8
. <> Fork Condition: If Variable [5] == 25 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 134), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 24
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 9-> hinunter zu Menüpunkt 10
. <> Fork Condition: If Variable [5] == 25 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 166), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 26
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 10-> hinauf zu Menüpunkt 9
. <> Fork Condition: If Variable [5] == 26 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 150), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 25
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 10-> hinunter zu Menüpunkt 11
. <> Fork Condition: If Variable [5] == 26 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 182), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 27
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 11-> hinauf zu Menüpunkt 10
. <> Fork Condition: If Variable [5] == 27 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 166), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 26
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 11-> hinunter zu Menüpunkt 12
. <> Fork Condition: If Variable [5] == 27 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 198), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 28
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 12-> hinauf zu Menüpunkt 11
. <> Fork Condition: If Variable [5] == 28 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 182), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 27
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 12-> hinunter zu Menüpunkt 13
. <> Fork Condition: If Variable [5] == 28 then ...
. . <> Fork Condition: If Variable [4] == 1 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 214), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 29
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------Menüpunkt 13-> hinauf zu Menüpunkt 12
. <> Fork Condition: If Variable [5] == 29 then ...
. . <> Fork Condition: If Variable [4] == 4 then ...
. . . <> Show Picture: #10, kommandomenu_zusatzmenu_cursor, (230, 198), Mgn 100%, Tsp 0%
. . . <> Change Variable: [5] = 28
. . . <> Change Variable: [4] = 0
. . . <>
. . : End of fork
. . <>
. : End of fork
Die Befehle für das setzen der Gruppen und Bilder der Soldaten, das Überschreiben von Soldat 2 durch Soldat 1 funktioniert, umgekehrt gehts aber nicht! Hier muss also irgendwo der Fehler liegen..
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ----------------------------------------Soldat 1--------------------------------------------------
. <> Comment: -----Soldat 1 einer Gruppe hinzufügen-----
. <> Fork Condition: If Variable [5] == 17 then ...
. . <> Fork Condition: If Variable [4] == 5 then ...
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 5 then ...
. . . . <> Fork Condition: If Variable [32] <= 8 then ...
. . . . . <> Change Variable: [21] = 2
. . . . . <> Fork Condition: If Variable [32] == 5 then ...
. . . . . . <> Change Variable: [33] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 6 then ...
. . . . . . <> Change Variable: [33] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 7 then ...
. . . . . . <> Change Variable: [33] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 8 then ...
. . . . . . <> Change Variable: [33] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Switch: [24] = ON
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 0 then ...
. . . . <> Fork Condition: If Variable [32] <= 4 then ...
. . . . . <> Change Variable: [21] = 1
. . . . . <> Fork Condition: If Variable [32] == 1 then ...
. . . . . . <> Change Variable: [33] = 1
. . . . . . <> Change Variable: [206] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 2 then ...
. . . . . . <> Change Variable: [33] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 3 then ...
. . . . . . <> Change Variable: [33] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 4 then ...
. . . . . . <> Change Variable: [33] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [21] == 1 then ...
. . <> Fork Condition: If Variable [33] == 1 then ...
. . . <> Fork Condition: If Variable [206] == 2 then ...
. . . . <> Change Variable: [22] = 0
. . . . <> Change Variable: [34] = 0
. . . . <> Erase Picture: #19
. . . . <> Erase Picture: #20
. . . . <> Change Variable: [206] = 1
. . . . <>
. . . : End of fork
. . . <> Fork Condition: If Variable [33] == 1 then ...
. . . . <> Show Picture: #19, kommandomenu_sinard, (20, 56), Mgn 100%, Tsp 0%
. . . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 56), Mgn 100%, Tsp 0%
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 2 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 72), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 72), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 3 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 88), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 88), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 4 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 104), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 104), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [21] == 2 then ...
. . <> Fork Condition: If Variable [33] == 1 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 167), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 167), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 2 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 183), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 183), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 3 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 199), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 199), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [33] == 4 then ...
. . . <> Show Picture: #17, kommandomenu_kyren, (20, 215), Mgn 100%, Tsp 0%
. . . <> Show Picture: #18, kommandomenu_klasse_hauptmann, (100, 215), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ------------------------------------------------------------------------------------------------------------------------
. <> Comment: ----------------------------------------Soldat 2--------------------------------------------------
. <> Comment: -----Soldat 2 einer Gruppe hinzufügen-----
. <> Fork Condition: If Variable [5] == 18 then ...
. . <> Fork Condition: If Variable [4] == 5 then ...
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 5 then ...
. . . . <> Fork Condition: If Variable [32] <= 8 then ...
. . . . . <> Change Variable: [22] = 2
. . . . . <> Fork Condition: If Variable [32] == 5 then ...
. . . . . . <> Change Variable: [34] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 6 then ...
. . . . . . <> Change Variable: [34] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 7 then ...
. . . . . . <> Change Variable: [34] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 8 then ...
. . . . . . <> Change Variable: [34] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <> Comment: -----Abfrage welche Gruppe und welcher Platz-----
. . . <> Fork Condition: If Variable [32] >= 0 then ...
. . . . <> Fork Condition: If Variable [32] <= 4 then ...
. . . . . <> Change Variable: [22] = 1
. . . . . <> Fork Condition: If Variable [32] == 1 then ...
. . . . . . <> Change Variable: [34] = 1
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 2 then ...
. . . . . . <> Change Variable: [34] = 2
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 3 then ...
. . . . . . <> Change Variable: [34] = 3
. . . . . . <>
. . . . . : End of fork
. . . . . <> Fork Condition: If Variable [32] == 4 then ...
. . . . . . <> Change Variable: [34] = 4
. . . . . . <>
. . . . . : End of fork
. . . . . <> Change Variable: [4] = 0
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [22] == 1 then ...
. . <> Fork Condition: If Variable [34] == 1 then ...
. . . <> Fork Condition: If Variable [206] == 1 then ...
. . . . <> Change Variable: [21] = 0
. . . . <> Change Variable: [33] = 0
. . . . <> Erase Picture: #17
. . . . <> Erase Picture: #18
. . . . <> Change Variable: [206] = 2
. . . . <>
. . . : End of fork
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 56), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 56), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 2 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 72), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 72), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 3 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 88), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 88), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 4 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 104), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 104), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Fork Condition: If Variable [22] == 2 then ...
. . <> Fork Condition: If Variable [34] == 1 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 167), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 167), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 2 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 183), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 183), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 3 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 199), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 199), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [34] == 4 then ...
. . . <> Show Picture: #19, kommandomenu_sinard, (20, 215), Mgn 100%, Tsp 0%
. . . <> Show Picture: #20, kommandomenu_zusatzmenu_spaeher, (100, 215), Mgn 100%, Tsp 0%
. . . <>
. . : End of fork
. . <>
. : End of fork
. <> Comment: --------Zusatzmenü schließen----
. <> Fork Condition: If Variable [5] >= 17 then ...
. . <> Fork Condition: If Variable [5] <= 29 then ...
. . . <> Fork Condition: If Variable [4] == 6 then ...
. . . . <> Erase Picture: #9
. . . . <> Erase Picture: #10
. . . . <> Erase Picture: #11
. . . . <> Erase Picture: #12
. . . . <> Erase Picture: #13
. . . . <> Erase Picture: #14
. . . . <> Change Variable: [5] = 0
. . . . <> Change Variable: [4] = 0
. . . . <> Change Switch: [27] = OFF
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of loop