Scenario doesn't work

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Fairy
Posts: 12
Joined: October 27th, 2009, 1:28 pm
Location: Netherlands

Scenario doesn't work

Post by Fairy »

Hello,

After having studied WML for some time now, I decided it was time to try and make my own campaign.
However, for some odd reason, whenever I start my campaign it immediately goes to the end screen (THE END and then the credits roll)

I have no clue what I am doing wrong so I was wondering if any of you guys could take the time and take a quick peek into the WML.

thanks beforehand!

_main.cfg file
Spoiler:
Scenario 1
Spoiler:
Your Highness, I have no need of this hypothesis
- Pierre-Simon Laplace
User avatar
doofus-01
Art Director
Posts: 4134
Joined: January 6th, 2008, 9:27 pm
Location: USA

Re: Scenario doesn't work

Post by doofus-01 »

There are a couple of things I see that might be an issue:

in _main.cfg:
- There is no "id=..." in the [campaign] block.
- "first scenario=..." could have an underscore -> "first_scenario=..."
in scenario 1:
- Side 2 is defined before side 1. That has caused me trouble in the past.

The scenario id does not need the ".cfg" in it, but you were consistent so that probably isn't the problem.
User avatar
Fairy
Posts: 12
Joined: October 27th, 2009, 1:28 pm
Location: Netherlands

Re: Scenario doesn't work

Post by Fairy »

Yep, that made it work,
thanks a lot!
Your Highness, I have no need of this hypothesis
- Pierre-Simon Laplace
Post Reply