Comment 5 for bug 1322473

Revision history for this message
SirVer (sirver) wrote : Re: [Bug 1322473] Re: Add Win conditions as an Objective

Why not do it for all of them?

> Am 27.05.2014 um 20:21 schrieb GunChleoc <email address hidden>:
>
> I've run into my first problem this function here. I want to do this:
>
> https://wl.widelands.org/docs/wl/autogen_wl_game/#wl.game.Player.add_objective
>
> but the win condition script is called for each player, so I should do
> this only for the current player.
>
> How do I find out who the interactive player is? In singleplayer mode,
> this is simply wl.Game().players[1], but in multiplayer mode I have a
> problem.
>
> --
> You received this bug notification because you are subscribed to
> widelands.
> https://bugs.launchpad.net/bugs/1322473
>
> Title:
> Add Win conditions as an Objective
>
> Status in Widelands:
> In Progress
>
> Bug description:
> In non-scenario games, add the win conditions as an objective, so they
> can be easily reviewed later.
>
> Do we want to completely shift them away from the messages? In that
> case, the Tutorial text will need revising after the change.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/widelands/+bug/1322473/+subscriptions