Jump to content

Move Event not working

Recommended Posts

I have the following Event (Autorun):

@>Control Variables: [0010:Intro X] = 0
@>Control Variables: [0011:Intro Y] = 0
@>Conditional Branch: Variable [0011:Intro Y] < 6
  @>Control Variables: [0010:Intro X] += 1
  @>Control Variables: [0011:Intro Y] += 1
  @>Set Event Location: [Event NW], Variable [0010][0011]
  @>Wait 30 frame(s)
: Else
: Branch End


I have another Event that is just an image that I wish to move.


When I run the auto event, the image moves once and that is all.  Nothing else happens.  Does anyone know why this is?

Share this post

Link to post
Share on other sites

It's because the event sets the variables intro x and y to 0 each time it runs and the conditional branch sets it to +1, that is 0+1=1 everytime so the other event stays there. Put the conditional branch in a loop and set it to break the loop if the conditions don't meet. Something like this:




Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.