WML - Continuing a scenario after your leader dies.
Moderator: Forum Moderators
WML - Continuing a scenario after your leader dies.
I'm attempting to put together a "last stand" scenario, where your army will be overwhelmed no matter what you do. Getting the AI to overwhelm you is the easy part.
The tough part is getting the game not to think i've lost the scenario when my leader dies.
I've tried [event]s with both name=die and name=defeat, and neither of them seems to intercept things before I lose the scenario, so, is it possible to have a scenario where you win when your leader dies?
- b.[/i]
The tough part is getting the game not to think i've lost the scenario when my leader dies.
I've tried [event]s with both name=die and name=defeat, and neither of them seems to intercept things before I lose the scenario, so, is it possible to have a scenario where you win when your leader dies?
- b.[/i]
Code: Select all
[event]
name=die
[filter]
description=leader
[/filter]
...
[endlevel]
result=victory
[/endlevel]
[/event]
"ILLEGITIMIS NON CARBORUNDUM"
Father of Flight to Freedom
http://www.wesnoth.org/wiki/FlightToFreedom
Father of Flight to Freedom
http://www.wesnoth.org/wiki/FlightToFreedom
- Elvish_Pillager
- Posts: 8137
- Joined: May 28th, 2004, 10:21 am
- Location: Everywhere you think, nowhere you can possibly imagine.
- Contact:
Look at scenario 1 from "Flight to Freedom" (the Drake campaign)
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.