Page 1 of 1

SM3DW Too Bad

Posted: 11 Jun 2017, 16:49
by Coolio__
Using some help from KFCMARIO's PlayerDeath check system, I managed to create a script that does what the title says.
(Honeycam wouldn't cooperate with me so I can't show you a gif)
How to add it to your level:
1) First, create a new variable named "lvlFinished" and a script and paste this code into it:
Spoiler

Code: Select all

if val(lvlFinished) = 0 then
   call bmpcreate(1, 175, 1, 1, 0, 0, 426, 76, 200, 500, 1, 1, 187, 125, 0, -1)
end if
2) For that script to work, you need this.
file.zip
(3.44 KiB) Downloaded 134 times

3) After you have those, create an event for Level - End which runs that script you made. This will check if the player has lost a life when the level ends. (The level also ends if the player loses a life as some of you know)
4) Make another event called Lvl Finished that changes the variable you made earlier to "1" and make sure that the exit of your level triggers this event when it "dies".
5) If you did everything correctly, it should work!
DO NOTE: This script will not work without the files in file.zip in your level/word's folder!

Posted: 12 Jun 2017, 0:24
by Maeru
Works perfectly, definitely add this in my project, thanks for this srcipt ! ;-)

Posted: 17 Jun 2017, 13:54
by tarkan809
Image

here's the gif

Posted: 16 Jul 2017, 22:43
by Ice
I did step 4 but when I grabbed the goal pole it still said too bad. i made sure the flag triggered on it's death Lvl Finished like you stated but it still pops up :(

Posted: 18 Jul 2017, 18:30
by Coolio__
Ice wrote:I did step 4 but when I grabbed the goal pole it still said too bad. i made sure the flag triggered on it's death Lvl Finished like you stated but it still pops up :(
I forgot to mention that you have to use the touch event for flagpoles. Sorry!

Posted: 18 Jul 2017, 19:49
by Ice
:shout: THHHHAAAAAAANNNNKK YYOOOOOOUUU SO MUCH!!! This is gonna be a HUGE ASSET to my project, Crediting you by the way :gamer:

Doesn't work at all

Posted: 3 Mar 2019, 22:43
by Mari0no1
I did all steps but the Too Bad doesn't appear, can you help me ?