Direction issue with a simple projectile firing event

● ARCHIVED · READ-ONLY
Started by Geoff Moore 4 posts View original ↗
  1. Here's the event:

    fire1.jpgfire2.jpg

    The idea is that the witchfire event (currently in the witch's location) faces in her direction, then moves forward 10 spaces in that direction before jumping to somewhere out of the way so the process can be repeated as I require. The problem is that the projectile always moves down. Am I missing something obvious, or trying to do this wrong? Please check the screens before replying, because I might well be doing it completely wrong, lol. Thanks for reading.
  2. Just as a forewarning: I suggest implementing wait: 5 frames or similar to these events that are direction-based, before and after the switches trigger. This will allow the initialiser to check the new conditions before firing them off. Give that a test.


    This likely doesn't even really need to be in a common event, to be honest. A parallel on the map would work fine.
  3. Aha! Waiting was the issue. I just had to set the turning commands to 'wait for completion' and it worked. Thank you! :D

    Before this is closed, is there a quicker way to write the first part of the event, just a line of script that sets the witchfire's direction to the witch's direction?
  4. Let's say your witch event is event 15.

    Code:
    Set Move Route [witchfire]: set_direction($game_map.events[15].direction)                            change_speed(5)
    Don't have Ace in front of me so can't test that.