Can someone figure out why the boss isn't spawning

id: 749900

category: Help with Scripts

posts: 12

toad_duzz toad_duzz loading
game link: the game i need help with
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
deck26 deck26 loading
So which sprite and script are we looking at?
MineTurte MineTurte loading

toad_duzz wrote:

game link: the game i need help with
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Okay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should.

Hope this helps!


Edit: haha. wayyy ahead of you deck, lol.
toad_duzz toad_duzz loading
toad_duzz toad_duzz loading

MineTurte wrote:

toad_duzz wrote:

game link: the game i need help with
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Okay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should.

Hope this helps!


Edit: haha. wayyy ahead of you deck, lol.[/quote

I made it like that on purpose because I don't want the enemies to start spawning until they pick up the pistol and when they do, the zombies can start spawning
MineTurte MineTurte loading

toad_duzz wrote:

MineTurte wrote:

toad_duzz wrote:

game link: the game i need help with
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Okay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should.

Hope this helps!


Edit: haha. wayyy ahead of you deck, lol.

I made it like that on purpose because I don't want the enemies to start spawning until they pick up the pistol and when they do, the zombies can start spawning

Ah okay. Well then it should work?
toad_duzz toad_duzz loading

MineTurte wrote:

toad_duzz wrote:

MineTurte wrote:

toad_duzz wrote:

game link: the game i need help with
The game uses timers and I'm guessing I coded something wrong about them because the boss is not spawning
if someone can look through the code and hopefully find a solution it would mean a lot!
Okay well first off all you script that starts the enemy spawning starts when it receives “glock” which I assume is not correct? After that it works fine and the boss spawns as it should.

Hope this helps!


Edit: haha. wayyy ahead of you deck, lol.

I made it like that on purpose because I don't want the enemies to start spawning until they pick up the pistol and when they do, the zombies can start spawning

"Ah okay. Well then it should work?"

Nope, boss doesn't spawn
toad_duzz toad_duzz loading
looks like I'll never find the solution
scratch
when green flag clicked
deck26 deck26 loading
Most likely cause is too many clones of other objects. Try setting up a new sprite which you can clone by pressing a key. What happens if you try to clone that sprite at the time you expect the boss to appear? If it doesn't appear either then you've probably hit the clone limit.
Malicondi Malicondi loading
Clones aren't the problem, you're never broadcasting boss fight so the boss never spawns.
toad_duzz toad_duzz loading

Malicondi wrote:

Clones aren't the problem, you're never broadcasting boss fight so the boss never spawns.

If you look at the spawning script, it broadcasts boss fight 130 seconds into the game. But for some reason it isn't. I don't think it's hitting the clone limit. Is there another way to broadcast it that would work?