Move route issue

● ARCHIVED · READ-ONLY
Started by frederik850 7 posts View original ↗
  1. I want to create an event where a guard moeves toward the player and than says something. But in the event you see in the file the switch gets immediately activated and not after the moveroute. Anyone know how to solve this? I use Galv's moveroute extras script.

    moveroute.png
  2. Could you give us a link to Galv's script.  People will need to be able to see it to check.
  3. the main problem is that the moveroute is one step, and then repeats itself.


    So of course the switch gets turned on after the first step.


    Use autonomous movement instead of set move route (that is the area between sprite and content, where you currently set it to fixed = not moving), have the content be only the switch on command, and set the page to event touch.
  4. It still doesn't work. First of all, I would like the player not be able to move while the guard approaches him. And secondly, when the guardfine switch gets activated the guard moves weirdly (takes one step, stops, and so on). And when I adjust the speed nothing happens.
  5. then where is the player supposed to be when the guard is triggered? Make a full move route for that instead of repeating a single step countless times.


    You need to adjust speed AND frequency if the guard is too slow
  6. You are waiting until the move route is complete before moving to the next step. But the move route simply does a script call - it doesn't wait for the move to actually finish because it's no longer part of the move route. Just add a Wait X Frames.