how to stop scrolling to the leader
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.
how to stop scrolling to the leader
If wondered if there's a way to stop the game from scrolling every turn to the leader. I want to do this because in the first few turns the ai isn't doing anything but sitting there. (They are city guards, they shouldn't attack my units as they are friendly units and there's no enemy in that scenario (that's why the guards are another 'hostile' side)
It's a bit weird seeing the game scroll to the leader who then does nothing
I can achieve this by putting controller=null but then you win the scenario after one turn, because there is no enemy.
mat
It's a bit weird seeing the game scroll to the leader who then does nothing

I can achieve this by putting controller=null but then you win the scenario after one turn, because there is no enemy.
mat
- Viliam
- Translator
- Posts: 1341
- Joined: January 30th, 2004, 11:07 am
- Location: Bratislava, Slovakia
- Contact:
I am not sure. If the problem is losing because there is no enemy, maybe try this:
Code: Select all
[scenario]
...
victory_when_enemies_defeated=no
...
[/scenario]
If this works, it'll be another gem for my WML treasure trove (even if it's another one of those rough-cut ones). 

Try some Multiplayer Scenarios / Campaigns
Re: how to stop scrolling to the leader
Mathijs wrote:If wondered if there's a way to stop the game from scrolling every turn to the leader. I want to do this because in the first few turns the ai isn't doing anything but sitting there. (They are city guards, they shouldn't attack my units as they are friendly units and there's no enemy in that scenario (that's why the guards are another 'hostile' side)
It's a bit weird seeing the game scroll to the leader who then does nothing![]()
I can achieve this by putting controller=null but then you win the scenario after one turn, because there is no enemy.
mat
I know how you feel, one of my campaign map is huge and sice the AI do nothing for 5 turns it is a pain.
well I solved the fact that my AI is doing nothing by setting:
Because this allows me to set both teams to the same team. (as Viliam pointed out nicely, thank you!)
So the scrolling thing isn't such a pain in the ass anymore. I've tried what zookeeper proposed but it didn't work!
greetz,
mat
Code: Select all
[scenario]
...
victory_when_enemies_defeated=no
...
[/secenario]
So the scrolling thing isn't such a pain in the ass anymore. I've tried what zookeeper proposed but it didn't work!
greetz,
mat