Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

I cant make games end if they are in custom mode.

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
iq2300
Meatbag
Posts: 7
Joined: Sun Mar 19, 2017 7:16 am
Title: Pyromaniac
SFD Account: IQ2300
SFD Alias: Jon Doe (usually)
Gender:

I cant make games end if they are in custom mode.

Post by iq2300 » Sun Mar 19, 2017 7:26 am

Like, /gameover works, but if theres just 1 guy left, then the game wont end if the map is in custom mode. If this isnt a bug, can someone tell me how to script it so that it does end?

Here is a map demonstrating the concept
http://www.mediafire.com/file/eim37v8ow ... hower.sfdm
0 x
I Dont Really want to set the wooooorld onnn fireeeeeee..

User avatar
gwendalaze
Superfighter
Superfighter
Posts: 84
Joined: Sat Mar 19, 2016 12:55 pm
Title: Jarate Yellow Belt
Started SFD: PreAlpha 1.1.4
Location: France

Post by gwendalaze » Sun Mar 19, 2017 1:43 pm

I don't know what you want to do, but odds are that if you don't know scripting, you don't want to put your map in custom mode.

Otherwise, the script method is Game.SetGameOver("Game Over !");
0 x
- Gwendalaze, failing at being fun, just like this signature

Locked