Der Terrain-Heldenbewegungscode, ist exakt der gleiche wie von dir angegeben:
- SCRIPT -
<> Label: 1
<> Change Variable: [15] = X position on map (tiles) of hero
<> Change Variable: [16] = Y position on map (tiles) of hero
<> Wait: 0,0 sec.
<> Change Variable: [18] = X position on map (tiles) of hero
<> Change Variable: [19] = Y position on map (tiles) of hero
<> Fork Condition: If Variable [15] != V[18] then ...
<> Jump To Label: 2
<>
: Else ...
<> Jump To Label: 1
<>
: End of fork
<> Fork Condition: If Variable [16] != V[19] then ...
<> Jump To Label: 2
<>
: Else ...
<> Jump To Label: 1
<>
: End of fork
<> Label: 2
<> Get Terrain ID: (V[15], V[16]), Store in var. [13]
<> Fork Condition: If Variable [13] == 1 then ...
<> Change Switch: [61] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 2 then ...
<> Change Switch: [62] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 3 then ...
<> Change Switch: [64] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 4 then ...
<> Change Switch: [63] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 5 then ...
<> Change Switch: [65] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 6 then ...
<> Change Switch: [67] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 7 then ...
<> Change Switch: [68] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 8 then ...
<> Change Switch: [66] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 9 then ...
<> Change Switch: [71] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 10 then ...
<> Change Switch: [69] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 11 then ...
<> Change Switch: [70] = ON
<>
: Else ...
<> Fork Condition: If Variable [13] == 12 then ...
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
CODE-Zufallsevent (Was ausgelößt wird wenn Terrain ID = (Wald,Ebene,usw) (Autostart= 2 Switches [Tag/Nacht, Wald])
- SCRIPT -
[=Zeit +1]
<> Change Variable: [4] += 1
[Hunger und Durst Abfrage ob man verdurstet, verhungert]
<> Fork Condition: If Switch [9] == ON then ...
<> Change MP: Decrease MP of entire party by 15 points
<> Change Condition: Entire party, Inflict condition #14
<>
: End of fork
<> Fork Condition: If Switch [10] == ON then ...
<> Change HP: Decrease HP of entire party by 30 points
<> Change Condition: Entire party, Inflict condition #15
<>
: End of fork
[Es wird überprüft ob man vom Gebirge kommt]
<> Label: 3
<> Fork Condition: If Switch [5] == ON then ...
<> Change Switch: [5] = OFF
<> Move Event: Hero, Frq 8, Pattern: Inc spd
<> Change Switch: [4] = ON
<> Jump To Label: 2
<>
: Else ...
<> Jump To Label: 1
<>
: End of fork
[Es wird überprüft ob man von der Ebene kommt]
<> Label: 1
<> Fork Condition: If Switch [4] == OFF then ...
<> Change Switch: [4] = ON
<> Move Event: Hero, Frq 8, Pattern: Dec spd
<> Jump To Label: 2
<>
: Else ...
<> Jump To Label: 2
<>
: End of fork
<> Label: 2
[Hunger und Durst Variable change]
<> Change Variable: [1] -= 2
<> Change Variable: [2] -= 2
<> Change Variable: [3] = Random [1-100]
[Zufallswurf]
<> Fork Condition: If Variable [3] <= 45 then ...
<>
: Else ...
<> Fork Condition: If Variable [3] <= 50 then ...
<>
: Else ...
<> Fork Condition: If Variable [3] <= 55 then ...
<> Change Switch: [21] = ON
<>
: Else ...
<> Fork Condition: If Variable [3] <= 60 then ...
<>
: Else ...
<> Fork Condition: If Variable [3] <= 65 then ...
<> Change Switch: [35] = ON
<>
: Else ...
<> Fork Condition: If Variable [3] <= 70 then ...
<> Change Switch: [21] = ON
<>
: Else ...
<> Fork Condition: If Variable [3] >= 71 then ...
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<>
: End of fork
<> Change Switch: [62] = OFF
Zitat von EasyEventExporter
- SCRIPT -
<> Change Variable: [4] += 1
<> Fork Condition: If Switch [9] == ON then ...
. <> Change MP: Decrease MP of entire party by 15 points
. <> Change Condition: Entire party, Inflict condition #14
. <>
: End of fork
<> Fork Condition: If Switch [10] == ON then ...
. <> Change HP: Decrease HP of entire party by 30 points
. <> Change Condition: Entire party, Inflict condition #15
. <>
: End of fork
<> Label: 3
<> Fork Condition: If Switch [5] == ON then ...
. <> Change Switch: [5] = OFF
. <> Move Event: Hero, Frq 8, Pattern: Inc spd
. <> Change Switch: [4] = ON
. <> Jump To Label: 2
. <>
: Else ...
. <> Jump To Label: 1
. <>
: End of fork
<> Label: 1
<> Fork Condition: If Switch [4] == OFF then ...
. <> Change Switch: [4] = ON
. <> Move Event: Hero, Frq 8, Pattern: Dec spd
. <> Jump To Label: 2
. <>
: Else ...
. <> Jump To Label: 2
. <>
: End of fork
<> Label: 2
<> Change Variable: [1] -= 2
<> Change Variable: [2] -= 2
<> Change Variable: [3] = Random [1-100]
<> Fork Condition: If Variable [3] <= 45 then ...
. <>
: Else ...
. <> Fork Condition: If Variable [3] <= 50 then ...
. . <>
. : Else ...
. . <> Fork Condition: If Variable [3] <= 55 then ...
. . . <> Change Switch: [21] = ON
. . . <>
. . : Else ...
. . . <> Fork Condition: If Variable [3] <= 60 then ...
. . . . <>
. . . : Else ...
. . . . <> Fork Condition: If Variable [3] <= 65 then ...
. . . . . <> Change Switch: [35] = ON
. . . . . <>
. . . . : Else ...
. . . . . <> Fork Condition: If Variable [3] <= 70 then ...
. . . . . . <> Change Switch: [21] = ON
. . . . . . <>
. . . . . : Else ...
. . . . . . <> Fork Condition: If Variable [3] >= 71 then ...
. . . . . . . <>
. . . . . . : End of fork
. . . . . . <>
. . . . . : End of fork
. . . . . <>
. . . . : End of fork
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of fork
<> Change Switch: [62] = OFF
...
Edit: Von dem 2. Event, gibt es pro Terrain eines (mit 2 Seiten). Vllt ist da ja der Wurm vergraben. Aber wenn diese Events als Hero-Touch gelegt werden, funktionieren sie einwandfrei oO =verwirrt.
EDIT2: den 2. Code nochmal neu in den Spoiler reinkopiert, mit Erklärung versehen