AI recruitment pattern
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.
Re: AI recruitment pattern
yes, you're right, it should be "yes". sorry for the errorRya wrote:Wait a minute, shouldn't it be "=yes" for both in that sentence of Crab?
After all it should ignore it, right?

Re: AI recruitment pattern
By the way here my script which I'm using for now (event is turn 2, so he can recruit more scouts at the beginning):
Code: Select all
[if]
[variable]
name=temp.recruit
contains="Fencer"
[/variable]
[then]
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Spearman" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Horseman" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Fencer" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Merman Fighter" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Mage" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Bowman" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Cavalryman" 4}
{LIMIT_CONTEMPORANEOUS_RECRUITS 4 "Heavy Infantryman" 4}
[modify_side]
[ai]
recruitment_pattern=
recruitment_ignore_bad_combat=yes
recruitment_ignore_bad_movement=yes
[/ai]
[/modify_side]
[/then]
[/if]
Wesnoth
The developer says "no".
The developer says "no".