Making an intentional game crash?

● ARCHIVED · READ-ONLY
Started by SkulleD42 9 posts View original ↗
  1. I know you can make the game crash with one line using a script because I saw it once somewhere, but I can't find where. Can anyone help me?
  2. Throw an exception using script?
  3. I want to make a pop-up window with msgbox "x" and then crash the game
  4. If the crash can be a crash of any kind, you can do for example "var x = new Utils ();" as a script call.
  5. If you want to terminate the exe window, just write "exit" after "msgbox x"
  6. I didn't think of that, thank you!
  7. TheoAllen said:
    If you want to terminate the exe window, just write "exit" after "msgbox x"
    Oh, that's what I saw that time, thanks!
  8. TheoAllen said:
    If you want to terminate the exe window, just write "exit" after "msgbox x"

    Along these lines, it's usually better to fake a crash than to create an actual one. That way, you can control exactly how it goes down, as well as maintain certain game elements safely (such as if you want to make the game save properly so that when they jump back in, they will see what you want them to see).
  9. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.