The Wesnoth.org website and forums will be taken down for maintenance this September 28 at 8 am UTC for 1-8 hours.

You can find more information about affected services in the News post. ― Iris

cannot get "set_extra_recruit" to work correctly

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
Anagkai
Posts: 58
Joined: February 12th, 2012, 10:05 am

cannot get "set_extra_recruit" to work correctly

Post by Anagkai »

I'm using the following code:

Code: Select all

	[set_extra_recruit]
		[filter]
			id=Jim
		[/filter]
		extra_recruit=Goblin Impaler, Goblin Spearman
	[/set_extra_recruit]
When using this every single side in the scenario starts recruiting goblins. Why?
My campaigns: Princess Nilwyn (available) & Home of the Undead (available)
Post Reply