Having objects destroy themselves can create all kinds of unwanted problems. It might be easier in this case, but in general I'd say it's ill-advised.
I would need an object to create them...
I'll test it out in a second copy
Ohhh, so that's how it works. I know why he used this method, though. It's because high scores are the only hard-coded numbers Game Maker keeps track of. Tunnel 1 and Tunnel 2 are the two lowest scores on the high score chart, and when they're depleted by your payments to the tunnel man, they cause shortcuts to appear.
Oh yeah, huh. I forgot they weren't just true/false but also held the progress towards buying each shortcut. That actually does make sense... kinda.
So I should have if score < X number, this object doesn't destroy itself?
would that work? (The ladders I want on the title screen)
No, it would be easier to check global.tunnel1 and global.tunnel2 instead. So it would work like this:
The first ladder destroys itself if tunnel1 and
tunnel2 are greater than zero.
The second ladder destroys itself if tunnel2 is greater than zero.
The third ladder destroys itself if tunnel1 or
tunnel2 is greater than zero.
P.S. I realized I accidentally swapped the middle two conditions in my first explanation, I have fixed it now.
Ok thanks I'll let you know how it goes