Mir ist aufgefallen dass der Character der dem Helden nachläuft nicht blinzelt sobald man sich bewegt. Ich schätze das liegt daran, dass keine 2 "Set Move Route" Befehle gleichzeitig auf ein Event gestartet werden können, jedoch würde ich trotzdem gerne wissen ob es irgendwie möglich ist dass der Char auch unterm Laufen blinzelt.
Der Code des Begleiters (Trigger ist "Paralell Process" und im Hintergrund läuft ein Common Event mit demselben Trigger welches die Variable 92 "Begleiter Blinzeln" um 1 alle 0,1 Sekunden erhöht):
Vielleicht kannst du das Blinzeln über Event Pages machen...
Alternativ könnte man wohl die Befehle synchronisieren, aber das klingt gar nicht mal so einfach.
Ich glaube, event pages, die über eine Variable-gesteuert werden, wäre tatsächlich die sinnvollste Möglichkeit, ja. Alternativ fiele mir ein, in dem Hinterherlauf-Event eine Abfrage zu machen, ob gerade geblinzelt wird, und abhängig davon eine von zwei Versionen deines Folge-Scripts aufzurufen - einmal mit "Change Graphic" auf das normale Charset und einmal für das blinzelnde.
Mit der Eventpage würde es theoretisch funktionieren, jedoch "refresht" der Begleiter jedes mal wenn das Blinzeln abgeschlossen wurde und somit wird er wieder auf die X/Y Koordinaten des Helden teleportiert. Nun könnte ich natürlich die X/Y Koordinaten Variablen des Helden so manipulieren dass der Begleiter immer hinter den Helden refresht, ich denke das ist mir aber zu viel Aufwand, speziell wenn ein zweiter oder dritter Begleiter dazukommen.
@Brei
Denkst du es wäre möglich wenn beide "Set Move Route" Befehle gleichzeitig geschehen? Aber mal unabhängig davon ob es geht oder nicht, versuchen würde ich das sowieso wahrscheinlich nicht, das wäre dann doch zu viel des Guten für so einen kleinen Bug :P
@BDraw
Meinst du über Common Events? Das könnte ich versuchen! Jedoch weiß ich nicht wie es sich in den Common Events mit "Set Move Route" Befehlen verhält die nicht auf den Player anzuwenden sind, genügt es wenn ich jedem Begleiter Event auf jeder Map den gleichen Namen gebe und den Befehl dann auf dieses eine Event anwede?
Ich muss noch sehr viel lernen also nehmt es mir bitte nicht übel wenn ich etwas falsch verstehe
Move Befehle "gleichzeitig" auszuführen wird wohl nicht gehen. Aber du könntest sowas machen (achtung, pseudocode!):
---
if(blinzelnNotwendig): moveEvent(change charset -> move left)
else: moveEvent(move left)
---
Damit überschreiben sich die Befehle nicht mehr. Ansonsten funktioniert die Page-Sache, wenn du den Code von oben in einem anderen (ggf common-)Event hast.
Es funktioniert endlich! Jetzt blinkt der Begleiter beim Laufen und beim Stehen! Der Code sieht jetzt wie folgt aus (beim "if Switch B1 blinzeln is ON" wird auf das Charset mit den geschlossenen Augen gewechselt und beim "else" wird auf das mit den geöffneten gewechselt):