How to disable standart victory condition
Moderator: Forum Moderators
How to disable standart victory condition
Usually, to win the scenario, you just need to kill all opponent's leaders (even if you don't describe this in [event] statement).
So, the question is: "How to disable standard victory condition, so that game will not end after the death of leaders".
Is it possible with WML or should I use something else?
So, the question is: "How to disable standard victory condition, so that game will not end after the death of leaders".
Is it possible with WML or should I use something else?
-
- Posts: 484
- Joined: August 4th, 2019, 5:27 pm
Re: How to disable standart victory condition
In [scenario] tag add an attribute victory_when_enemies_defeated=no
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Re: How to disable standart victory condition
Yeah, it helped, thank you. I will just specify other victory conditions in [end_level]dwarftough wrote: ↑November 23rd, 2021, 12:41 am In [scenario] tag add an attribute victory_when_enemies_defeated=no
-
- Posts: 484
- Joined: August 4th, 2019, 5:27 pm
Re: How to disable standart victory condition
I'm not sure [end_level] by itself works this way, it just ends the level. You need to put [end_level] in an event with conditions desired.
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II