[solved] How to change scenario win-condition?

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
CraZCanuck
Posts: 10
Joined: November 6th, 2020, 4:45 am

[solved] How to change scenario win-condition?

Post by CraZCanuck »

Hi all!

I've got a scenario in mind not dissimilar in nature to HttT_01, in which the leader needs to reach an area of the map to clear.

I've got a rough map and scenario coded, but on playtesting, every time the enemy leader dies (which is a likely outcome, given the placement) the scenario ends immediately. I've heard rumblings of "victory_when_enemies_defeated" being something I could use to stop this behaviour? Not sure how to implement.

Let me know if anyone has ideas or experience with it.
Last edited by CraZCanuck on May 1st, 2024, 4:10 pm, edited 2 times in total.
User avatar
Pentarctagon
Project Manager
Posts: 5587
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to change scenario win-condition?

Post by Pentarctagon »

99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply