Running a no-loss scenario

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
Xandal
Posts: 12
Joined: July 1st, 2007, 9:22 pm

Running a no-loss scenario

Post by Xandal »

Hey there guys. I'm in a bit of a predicament. I'm trying to run a no-loss scenario. It's a small map that sets up the story and allows the player to utilize a shop system. However, if I end the turn I instantly lose.

I have the victory condition set to a moveto signpost. So long as I walk to the signpost on the first turn it's fine. However, to walk onto the shop and then the signpost you need to end the turn. What are some ways I can fix this? I'm open to talking on IRC or PM and sending my code if this is something that will be difficult to answer through the forum.

Thanks in advance :)
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Running a no-loss scenario

Post by Dugi »

Assuming it's singleplayer and with one side played.
If the player's side has no leader, the player loses, no matter what. You have to make the player's unit canrecruit=yes. If you don't want him to recruit, just set 'recruit=' (empty list of units to recruit) to his side.
Xandal
Posts: 12
Joined: July 1st, 2007, 9:22 pm

Re: Running a no-loss scenario

Post by Xandal »

Thanks man, that worked. You're a boss and I love you.
Post Reply