Engel der Furcht
04.04.2010, 16:41
Soo Leute.
ich brauch mal wieder eure Hilfe^^"
Ich möchte,dass,wenn ein Held volle ATB Leiste hat,das KS-Menü aufgerufen wird.
Soweit so gut.
Nun soll man das Menü aber wieder wegdrücken können und die anderen ATBs sollen weiterlaufen.
Dies ist mein ATB-Verfahren:
--- EVENT ---
Type: Common event
Name: ATB-Verfahren
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [41] == ON
Trigger condition: Parallel process
- SCRIPT -
<> Comment:
:
:
<> Fork Condition: If Switch [42] == OFF then ...
. <> Change Variable: [29] += V[27]
. <> Change Variable: [49] += V[47]
. <> Change Variable: [69] += V[67]
. <> Change Variable: [89] += V[87]
. <>
: Else ...
. <>
: End of fork
<> Comment:
:
:
<> Fork Condition: If Variable [29] >= 1000 then ...
. <> Change Variable: [196] = 1
. <> Call Event: Common Event #34
. <>
: End of fork
<> Fork Condition: If Variable [49] >= 1000 then ...
. <> Change Variable: [196] = 2
. <> Call Event: Common Event #34
. <>
: End of fork
<> Fork Condition: If Variable [69] >= 1000 then ...
. <> Change Variable: [196] = 3
. <> Call Event: Common Event #34
. <>
: End of fork
<> Fork Condition: If Variable [89] >= 1000 then ...
. <> Change Variable: [196] = 4
. <>
: End of fork
<> Fork Condition: If Variable [109] >= 1000 then ...
. <> Change Variable: [196] = 5
. <>
: Else ...
. <> Fork Condition: If Variable [129] >= 1000 then ...
. . <> Change Variable: [196] = 6
. . <>
. : End of fork
. <> Fork Condition: If Variable [149] >= 1000 then ...
. . <> Change Variable: [196] = 7
. . <>
. : End of fork
. <>
: End of fork
<> Comment:
: Je nach Option,wird die Leiste
: unterschiedlich schnell voll
<> Fork Condition: If Variable [12] == 1 then ...
. <> Wait: 0.0 sec.
. <> Wait: 0.0 sec.
. <> Wait: 0.0 sec.
. <> Wait: 0.0 sec.
. <>
: Else ...
. <> Fork Condition: If Variable [12] == 2 then ...
. . <> Wait: 0.0 sec.
. . <> Wait: 0.0 sec.
. . <> Wait: 0.0 sec.
. . <>
. : Else ...
. . <> Fork Condition: If Variable [12] == 3 then ...
. . . <> Wait: 0.0 sec.
. . . <>
. . : Else ...
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of fork
<>
Variable 196 ist "KS-Anwender ID",damit das "KS weiß",wer gerade am Zug ist
Switch 42. ist "Kampfmenü AN"
und Startcondition ist "Kampf AN",PP
Wenn ich nun beim KS-Menü mittels ESC ausdrücke,wirds automatisch wieder angeschaltet(Weil die ATB ja immernoch 1000 ist):\
ich brauch mal wieder eure Hilfe^^"
Ich möchte,dass,wenn ein Held volle ATB Leiste hat,das KS-Menü aufgerufen wird.
Soweit so gut.
Nun soll man das Menü aber wieder wegdrücken können und die anderen ATBs sollen weiterlaufen.
Dies ist mein ATB-Verfahren:
--- EVENT ---
Type: Common event
Name: ATB-Verfahren
Number of Pages: 1
-- PAGE 1 --
Start conditions:
Switch [41] == ON
Trigger condition: Parallel process
- SCRIPT -
<> Comment:
:
:
<> Fork Condition: If Switch [42] == OFF then ...
. <> Change Variable: [29] += V[27]
. <> Change Variable: [49] += V[47]
. <> Change Variable: [69] += V[67]
. <> Change Variable: [89] += V[87]
. <>
: Else ...
. <>
: End of fork
<> Comment:
:
:
<> Fork Condition: If Variable [29] >= 1000 then ...
. <> Change Variable: [196] = 1
. <> Call Event: Common Event #34
. <>
: End of fork
<> Fork Condition: If Variable [49] >= 1000 then ...
. <> Change Variable: [196] = 2
. <> Call Event: Common Event #34
. <>
: End of fork
<> Fork Condition: If Variable [69] >= 1000 then ...
. <> Change Variable: [196] = 3
. <> Call Event: Common Event #34
. <>
: End of fork
<> Fork Condition: If Variable [89] >= 1000 then ...
. <> Change Variable: [196] = 4
. <>
: End of fork
<> Fork Condition: If Variable [109] >= 1000 then ...
. <> Change Variable: [196] = 5
. <>
: Else ...
. <> Fork Condition: If Variable [129] >= 1000 then ...
. . <> Change Variable: [196] = 6
. . <>
. : End of fork
. <> Fork Condition: If Variable [149] >= 1000 then ...
. . <> Change Variable: [196] = 7
. . <>
. : End of fork
. <>
: End of fork
<> Comment:
: Je nach Option,wird die Leiste
: unterschiedlich schnell voll
<> Fork Condition: If Variable [12] == 1 then ...
. <> Wait: 0.0 sec.
. <> Wait: 0.0 sec.
. <> Wait: 0.0 sec.
. <> Wait: 0.0 sec.
. <>
: Else ...
. <> Fork Condition: If Variable [12] == 2 then ...
. . <> Wait: 0.0 sec.
. . <> Wait: 0.0 sec.
. . <> Wait: 0.0 sec.
. . <>
. : Else ...
. . <> Fork Condition: If Variable [12] == 3 then ...
. . . <> Wait: 0.0 sec.
. . . <>
. . : Else ...
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of fork
<>
Variable 196 ist "KS-Anwender ID",damit das "KS weiß",wer gerade am Zug ist
Switch 42. ist "Kampfmenü AN"
und Startcondition ist "Kampf AN",PP
Wenn ich nun beim KS-Menü mittels ESC ausdrücke,wirds automatisch wieder angeschaltet(Weil die ATB ja immernoch 1000 ist):\