Simulating a game crash?

● ARCHIVED · READ-ONLY
Started by Soryu_Langley 3 posts View original ↗
  1. So...Maybe it's a stupid idea but I was thinking of putting this optional boss in my game that is kind of an easter egg and what I need to do is simulating a game crash when the boss inevitably beats the player and then display a custom error message
    Is this possible?
  2. Use these script call
    Code:
    Sound.play_buzzer
    msgbox "Write any message error here"
    exit
    The 'exit' line is optional. It forces the exe to close. Don't add it if you don't want to force exit the exe.
  3. TheoAllen said:
    Use these script call
    Code:
    Sound.play_buzzer
    msgbox "Write any message error here"
    exit
    The 'exit' line is optional. It forces the exe to close. Don't add it if you don't want to force exit the exe.
    Thank you!