Funny question. Detecting players with random 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.
- ChaosRider
- Posts: 846
- Joined: April 15th, 2012, 1:15 pm
Funny question. Detecting players with random leader
How to know at game start that one of players had set random leader? How to check it and catch such a players by wml code?
Creator of WOTG (+2880 units), MWC (+615 units), SurvivorsArea, RandomColosseum, RC WOTG, RC MWC, ColosseumRandomClonesBattle, BetweenDarknessAndLight, StealingWeapons, MoreUnitsForms, MoreDamageTypes, CanBeOnlyOne, ColosseumOneWinner, BonusSpam, CriticalStrike - available at 1.12 Wesnoth server.
- Celtic_Minstrel
- Developer
- Posts: 2222
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Funny question.
As far as I know, there's no way to do this, and I'd question whether there should be a way, to be honest... but I could be wrong. I'll see if anyone else on the dev-team knows.
Re: Funny question.
I expect setting leader= and random_leader= to lists without common elements would work.