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.

Parallel Event not executing! *Resolved*

Edit: I actually figured out that it was one of my scripts that is looping that is preventing my parallel events from running, how do i allow parallel events to continue running even if a script is looping. Is there a command for that?



I've done this so many times and this is the first time i have ever run into this type of problem. I have a parallel event running on a map which checks for user input. In that event i'm doing a Button input processing command. (not a key condition check). Then in a conditional branch im checking to see if the button input processing variable is equal to 13 (enter). If it is equal to 13 (a.k.a enter is pressed) then i have it turn on a switch which is supposed to activate another parallel process event which deals with input processing. The problem is that for some reason the 2nd parallel process in not getting activated when it should be. Here is what is in my events.

Event: 001: set to parallel process, runs as soon as map loads (no switch conditions)

contional branch: switch: [0001]: 2nd parallel event == off
      Button Input Processing: [0049: Var: Keyboard Input]

      conditional branch: [0049: Var: Keyboard Input] == 13
             control switches: [0001]: 2nd parallel event = on
      branch end
branch end


Event: 002: set to parallel process, switch condition: 2nd parallel event

play se: "hello"

conditional branch: if left key is pressed
   do something......
branch end


So my issue is that for whatever reason event 002 never starts up when i hit enter, why? I even played a sound effect in event: 001 when enter code was pressed to make sure "13" is the right code and the sound played. I've done this a bunch of times and its the first time i've run into this. Any ideas?
 

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