Is there a gameover script?
Posted: Tue May 30, 2017 10:21 pm
Hi, I just made a deathrun-like map where you respawn instantly.
However, for some reason the /gameover script doesn't work.
This is the script for the gameover
So, I made a Button00 and made it's Object Id =gameover, but when I press it, the game won't end. Is there something wrong in the script?
Here is the WHOLE script : https://pastebin.com/H7ZnHPHN
However, for some reason the /gameover script doesn't work.
This is the script for the gameover
Code: Select all
public void gameover(TriggerArgs args)
{
Game.SetGameOver("Congratulations!");
}
Here is the WHOLE script : https://pastebin.com/H7ZnHPHN