Working on Elf/Drake campaign.

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
RequiemOfReason
Posts: 29
Joined: April 30th, 2005, 1:24 am

Working on Elf/Drake campaign.

Post by RequiemOfReason »

I am working on a campaign starring an Elf named Luthian and a drake named Iblis. This is my first real campaign (Night Mare didn't go too well). You can see me begging for art here:
http://www.wesnoth.org/forum/viewtopic.php?t=6378

Anyway, for starters, I need to know if either of these things are possible in WML, and if so, how?
1) A unit switching sides durring a scenario
2) A side switching teams (from team=goodies to team=evil, for example)
Reality is an escape for people who can't face dreams...
And no, that's not by Antoine de Saint-Exupéry
MadMax
Posts: 1792
Joined: June 6th, 2004, 3:29 pm
Location: Weldyn, Wesnoth

Post by MadMax »

1.

Code: Select all

[store_unit]
[filter]
#whatever you want
[/filter]
variable=temp
[/store_unit]
{VARIABLE_OP temp.side #whatever you want}
[unstore_unit]
variable=temp
[/unstore_unit]
{CLEAR_VARIABLE temp}
2.

Code: Select all

[modify_side]
side=#whatever you want
team_name=#whatever you want
[/modify_side]
"ILLEGITIMIS NON CARBORUNDUM"

Father of Flight to Freedom
http://www.wesnoth.org/wiki/FlightToFreedom
RequiemOfReason
Posts: 29
Joined: April 30th, 2005, 1:24 am

Post by RequiemOfReason »

Merci Beaucoup
Reality is an escape for people who can't face dreams...
And no, that's not by Antoine de Saint-Exupéry
Post Reply