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.

Event not want to work

Hello

I have a common event that allows the use of a city map as a parallel process. That has worked fine. Then suddenly I add another parallel process that decreases the SP every few seconds and it starts before the map event, and now it doesn't want to work. I removed the other event, but that hasn't done a thing to resolve it.

I'm confused. Could someone please help.

lnicol1990
 
Would you mind posting screenshots of the event codes? I suspect that the problem may be located in something that you've overlooked there, and it's easiest to fix if we can see the actual screenshots.
 
Okay, this is my map event:
brokenevent1.png


And this is my lose SP event:
brokenevent2.png


I can't see anthing wrong with either, and I haven't changed the map event since I tested it and found out that it worked.
 
Yeah, I don't see anything that would interfere with the map event.

Stupid dead-chicken anti-lag suggestion:

Add a Wait 1 frame command to the end of the Map event. It'll decrease lag, at the very least.

Otherwise... try turning of the SP event to confirm that that's the issue. It's possible that you added another event system somewhere that's interfering with the City Map event, perhaps by changing the value of Variable 2. I've done that before... :sad:
 
I now know what was going wrong.

Since I'll be using more than one map, I put in the variables so that the correct map showed at the right time. However, I forgot to add to game an event that gave me the variable for the city map, which is why it didn't want to work.

Isn't it amazing how simple the solution usually is?
 

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