Zitat von EasyEventExporter
- SCRIPT -
<> Change Variable: [601] = X position on map (tiles) of event #12
<> Change Variable: [602] = Y position on map (tiles) of event #12
<> Change Variable: [603] = X position on map (tiles) of event #13
<> Change Variable: [604] = Y position on map (tiles) of event #13
<> Change Variable: [606] = V[601]
<> Change Variable: [606] -= V[603]
<> Change Variable: [607] = V[602]
<> Change Variable: [607] -= V[604]
<> Fork Condition: If Variable [606] == -1 then ...
. <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv left, Phas. mode off
. <>
: Else ...
. <> Fork Condition: If Variable [606] == 1 then ...
. . <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv right, Phas. mode off
. . <>
. : End of fork
. <>
: End of fork
<> Fork Condition: If Variable [607] == 0 then ...
. <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv up, Phas. mode off
. <>
: Else ...
. <> Fork Condition: If Variable [607] == 2 then ...
. . <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv down, Phas. mode off
. . <>
. : End of fork
. <>
: End of fork
<> Change Variable: [605] = Random [1-4]
<> Fork Condition: If Variable [605] == 1 then ...
. <> Move Event: Event #0, Frq 2, Ignore impossible moves, Pattern: Mv up
. <>
: Else ...
. <> Fork Condition: If Variable [605] == 2 then ...
. . <> Move Event: Event #0, Frq 2, Ignore impossible moves, Pattern: Mv right
. . <>
. : Else ...
. . <> Fork Condition: If Variable [605] == 3 then ...
. . . <> Move Event: Event #0, Frq 2, Ignore impossible moves, Pattern: Mv down
. . . <>
. . : Else ...
. . . <> Fork Condition: If Variable [605] == 4 then ...
. . . . <> Move Event: Event #0, Frq 2, Ignore impossible moves, Pattern: Mv left
. . . . <>
. . . : End of fork
. . . <>
. . : End of fork
. . <>
. : End of fork
. <>
: End of fork
<> Change Variable: [606] = V[601]
<> Change Variable: [606] -= V[603]
<> Change Variable: [607] = V[602]
<> Change Variable: [607] -= V[604]
<> Fork Condition: If Variable [606] == -1 then ...
. <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv left, Phas. mode off
. <>
: Else ...
. <> Fork Condition: If Variable [606] == 1 then ...
. . <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv right, Phas. mode off
. . <>
. : End of fork
. <>
: End of fork
<> Fork Condition: If Variable [607] == 0 then ...
. <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv up, Phas. mode off
. <>
: Else ...
. <> Fork Condition: If Variable [607] == 2 then ...
. . <> Move Event: Event #0, Frq 8, Ignore impossible moves, Pattern: Phas. mode on, Mv down, Phas. mode off
. . <>
. : End of fork
. <>
: End of fork
...