Ergebnis 1 bis 16 von 16

Thema: Folge Skript

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1
    ich habs wie in deinem skript gemacht, das event läuft irgendwo umher.
    Zitat Zitat von EasyEventExporter
    - SCRIPT -
    <> Move Event: This event, Frq 8, Pattern: Phas. mode on
    <> Set Event Location: This event -> (V[1], V[2])
    <> Loop
    . <> Move Event: This event, Frq 8, Pattern: Phas. mode on
    . <> Change Variable: [1] = X position on map (tiles) of hero
    . <> Change Variable: [2] = Y position on map (tiles) of hero
    . <> Fork Condition: If Hero is facing up then ...
    . . <> Change Variable: [2] += 1
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Hero is facing down then ...
    . . <> Change Variable: [2] -= 1
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Hero is facing left then ...
    . . <> Change Variable: [1] += 1
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Hero is facing right then ...
    . . <> Change Variable: [1] -= 1
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Change Variable: [1] -= X position on map (tiles) of this event
    . <> Change Variable: [2] -= Y position on map (tiles) of this event
    . <> Wait: 0,0 sec.
    . <> Fork Condition: If Variable [1] > 0 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Mv right
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [1] < 0 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Mv left
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [2] < 0 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Mv up
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [2] > 0 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Mv down
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Wait: 0,0 sec.
    . <>
    : End of loop

    Das ist mein Skript, und der funktioniert einwandfrei, ohne Probleme.

    Zitat Zitat von EasyEventExporter
    - SCRIPT -
    <> Set Event Location: This event -> (V[1], V[2])
    <> Loop
    . <> Change Variable: [3] = X position on map (tiles) of event #1
    . <> Change Variable: [4] = Y position on map (tiles) of event #1
    . <> Change Variable: [3] -= V[1]
    . <> Change Variable: [4] -= V[2]
    . <> Change Variable: [18] = V[3]
    . <> Change Variable: [19] = V[4]
    . <> Move Event: This event, Frq 8, Pattern: Phas. mode on
    . <> Fork Condition: If Variable [18] == -1 then ...
    . . <> Move Event: This event, Frq 8, Pattern: <none>
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == 1 then ...
    . . <> Move Event: This event, Frq 8, Pattern: <none>
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [19] == -1 then ...
    . . <> Move Event: This event, Frq 8, Pattern: <none>
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [19] == 1 then ...
    . . <> Move Event: This event, Frq 8, Pattern: <none>
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == -2 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Phas. mode on, Mv right
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [19] == -2 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Phas. mode on, Mv down
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == 2 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Phas. mode on, Mv left
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [19] == 2 then ...
    . . <> Move Event: This event, Frq 8, Pattern: Phas. mode on, Mv up
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == -1 then ...
    . . <> Fork Condition: If Variable [19] == 1 then ...
    . . . <> Fork Condition: If Hero is facing up then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv right
    . . . . <>
    . . . : End of fork
    . . . <> Fork Condition: If Hero is facing right then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv up
    . . . . <>
    . . . : End of fork
    . . . <> Wait: 0,0 sec.
    . . . <>
    . . : End of fork
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == 1 then ...
    . . <> Fork Condition: If Variable [19] == -1 then ...
    . . . <> Fork Condition: If Hero is facing down then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv left
    . . . . <>
    . . . : End of fork
    . . . <> Fork Condition: If Hero is facing left then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv down
    . . . . <>
    . . . : End of fork
    . . . <> Wait: 0,0 sec.
    . . . <>
    . . : End of fork
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == 1 then ...
    . . <> Fork Condition: If Variable [19] == 1 then ...
    . . . <> Fork Condition: If Hero is facing left then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv up
    . . . . <>
    . . . : End of fork
    . . . <> Fork Condition: If Hero is facing up then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv left
    . . . . <>
    . . . : End of fork
    . . . <> Wait: 0,0 sec.
    . . . <>
    . . : End of fork
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Fork Condition: If Variable [18] == -1 then ...
    . . <> Fork Condition: If Variable [19] == -1 then ...
    . . . <> Fork Condition: If Hero is facing right then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv down
    . . . . <>
    . . . : End of fork
    . . . <> Fork Condition: If Hero is facing down then ...
    . . . . <> Move Event: This event, Frq 8, Pattern: Mv right
    . . . . <>
    . . . : End of fork
    . . . <> Wait: 0,0 sec.
    . . . <>
    . . : End of fork
    . . <> Wait: 0,0 sec.
    . . <>
    . : End of fork
    . <> Wait: 0,0 sec.
    . <>
    : End of loop

    bloß ist die frage, wie gebe ich diese Variablen dem nächsten Event (als 3. in der reihe) weiter?

  2. #2
    Zitat Zitat von RandyTheMaker Beitrag anzeigen
    ich habs wie in deinem skript gemacht, das event läuft irgendwo umher.
    Interessant. Bei mir läuft es reibungslos, ich kann aber gerade auch nicht erkennen, was du anders gemacht hast. Hast du evtl. noch ein anderes Script gleichzeitig laufen, welches auf die Variablen oder das Event zugreift?

    Was dein Script angeht müsste ich mir das mal gründlicher ansehen, ich steig auf Anhieb jetzt durch den Wall nicht ganz durch.

  3. #3
    naja ich habe noch ein Common Event laufen, welches die Helden Koordinaten mit einem Wait ständig abfragt, sonst laufen keine weiteren dinge im hintergrund.

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •