Zitat von EasyEventExporter
- SCRIPT -
<> Change Variable: [1] = X position on map (tiles) of hero
<> Change Variable: [2] = Y position on map (tiles) of hero
<> Set Event Location: This event -> (V[1], V[2])
<> Loop
. <> Change Variable: [7] = X position on map (tiles) of this event
. <> Change Variable: [8] = Y position on map (tiles) of this event
. <> Fork Condition: If Switch [2] == ON then ...
. . <> Fork Condition: If Variable [8] > V[6] then ...
. . . <> Move Event: This event, Frq 8, Pattern: Mv down
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [8] < V[6] then ...
. . . <> Move Event: This event, Frq 8, Pattern: Mv up
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [7] > V[5] then ...
. . . <> Move Event: This event, Frq 8, Pattern: Mv right
. . . <>
. . : End of fork
. . <> Fork Condition: If Variable [7] < V[5] then ...
. . . <> Move Event: This event, Frq 8, Pattern: Mv left
. . . <>
. . : End of fork
. . <>
. : Else ...
. . <>
. : End of fork
. <> Wait: 0,1 sec.
. <>
: End of loop
...