Victory

» Siedler Map Source Forum » Siedler DEdK Script Forum » Victory

Seiten: 1

SH
#1
01.11.2018 09:56
Beiträge: 127

Victory

Does function Victory make that all human players win?
Is there a function that makes only one, chosen human player wins?
I have the same questions about defeat.

____________________
Sorry for my German

Dieser Beitrag wurde von SH am 01.11.2018 um 10:29 editiert.

mcb
#2
01.11.2018 15:15
Beiträge: 1472

Victory and Defeat set the GameState of the local player, which should cause a desync if called in MP.
You can use

Logic.PlayerSetGameStateToWon(player)
Logic.PlayerSetGameStateToLost(player)

instead.

SH
#3
01.11.2018 16:58
Beiträge: 127

Ok, thanks

____________________
Sorry for my German

Seiten: 1

SiteEngine v1.5.0 by nevermind, ©2005-2007
Design by SpiderFive (www.siedler-games.de) - English translation by juja

Impressum