Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Two events with the same script acting differently

Problem Solved.



I'm using Falcao Throw and hits events V 1.0 RMVX (click here for script) as a simple combat system. Falcao script gives the player the ability to throw or shooting on any map.

Now the problem dose not seem to be Falcao script I just posed it because it dose effect how the events are activated by the player.

OK I have two events on the same map and one acts the way I want the other seems to be skipping a event page.

The Graphic of the event charges from page to page.

Page 1
Comment: START (This is what Falcao script uses to activate an event when the players arrow or bullet hits it)
Show Animation: [EV001], [Hit]
Control Self Switch: A=ON

Page 2
Comment: START
Control Self Switch: A=OFF
Control Self Switch: B=ON

Page 3
Wait: 120 Frame(s)
Control Self Switch: B=OFF

Now the first event works fine when its hit. It goes to the second page and waits for the player to hit it again.
The second event when hit skips page two and runs the script on page 3.
No matter which event I hit first the first event is the only one that works.

If I copy the event and put it on another map it works. So the problem only occurs when there are two events on a given map.
 
I'd say its the script doing it. You copied and pasted the event twice, right? So there are no errors in the eventing?

If there are no errors at all, then I'm not really sure what to tell you. Make sure the pages in your events are in order, even though that really SHOULDN'T have anything to do with it. Other than that. Your script might be telling your event to skip that page somehow. If you can't fix it here, take it to RGSS2 support and try your luck there.

Sorry I couldn't be more help.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top