Hey, so hopefully this is a small thing and honestly I don't even mind if it can't be figured out, but I'm using an outdoor area for my first 'dungeon' in my game and I wanted to have some bats occasionally fly across the screen whilst the player was roaming around.
Unfortunately I got frustrated and deleted the actual event so I'll have to sort of break it down in text form:
The event was located on the right edge of the map.
PAGE 1:
Graphic: Blank
Priority: Above Characters
Trigger: Parallel Process
Contents:
Wait 999 frames
Control Variable: RandomBat, Random Number (1...4)
Conditional: if Variable Random Bat =1 : Control Self Switch A on
Conditional: if Variable Random Bat =2 : Control Self Switch B on
Conditional: if Variable Random Bat =3 : Control Self Switch C on
Conditional: if Variable Random Bat =4 : Control Self Switch D on
PAGE 2:
Condition: Self Switch A is On
Graphic: Red Bat
Priority: Above Characters
Trigger: Parallel Process
Contents:
Set Move Route: Transparent OFF
Set Move Route: (Repeat, Skip) Move Left
Set Move Route: Transprant ON
Set Move Route: Jump: (back to start point)
Self Switch A OFF
The other pages were identical except for requiring switch B, C, or D and having a different colour bat for the graphic.
The way the event was supposed to work was that the event would wait a while and then using variables select a bat colour at random, flip the appropriate self switch and then they'd appear, fly across the map until they could no longer move left, at which point they'd go transparent, teleport back to where they started, and then turn off their current switch so that the event would go back to 'select a random bat' stage and then just loop through, however the bats would never appear at all.
I apologize profusely for the awkward way I displayed the info. I need to learn to control my emotions when things aren't working and not delete stuff, lol. Hopefully the general idea makes sense though.
I imagine I've just not used the process properly, like assuming that turning the self switches off would force the event to run the first page again.
Honestly it was just one of those "oh this would be cool" moments that's not necessary for my game to function so if you tell me to f**k off then that's fine, lol. I just thought I'd give it a chance before writing the idea off totally.
Unfortunately I got frustrated and deleted the actual event so I'll have to sort of break it down in text form:
The event was located on the right edge of the map.
PAGE 1:
Graphic: Blank
Priority: Above Characters
Trigger: Parallel Process
Contents:
Wait 999 frames
Control Variable: RandomBat, Random Number (1...4)
Conditional: if Variable Random Bat =1 : Control Self Switch A on
Conditional: if Variable Random Bat =2 : Control Self Switch B on
Conditional: if Variable Random Bat =3 : Control Self Switch C on
Conditional: if Variable Random Bat =4 : Control Self Switch D on
PAGE 2:
Condition: Self Switch A is On
Graphic: Red Bat
Priority: Above Characters
Trigger: Parallel Process
Contents:
Set Move Route: Transparent OFF
Set Move Route: (Repeat, Skip) Move Left
Set Move Route: Transprant ON
Set Move Route: Jump: (back to start point)
Self Switch A OFF
The other pages were identical except for requiring switch B, C, or D and having a different colour bat for the graphic.
The way the event was supposed to work was that the event would wait a while and then using variables select a bat colour at random, flip the appropriate self switch and then they'd appear, fly across the map until they could no longer move left, at which point they'd go transparent, teleport back to where they started, and then turn off their current switch so that the event would go back to 'select a random bat' stage and then just loop through, however the bats would never appear at all.
I apologize profusely for the awkward way I displayed the info. I need to learn to control my emotions when things aren't working and not delete stuff, lol. Hopefully the general idea makes sense though.
I imagine I've just not used the process properly, like assuming that turning the self switches off would force the event to run the first page again.
Honestly it was just one of those "oh this would be cool" moments that's not necessary for my game to function so if you tell me to f**k off then that's fine, lol. I just thought I'd give it a chance before writing the idea off totally.