AI Recruitment: Difference between revisions

From The Battle for Wesnoth Wiki
Flixx (talk | contribs)
Flixx (talk | contribs)
Line 20: Line 20:
  [/ai]
  [/ai]
Recruit so, that there are at least 4 scouts in total and then recruit other units.
Recruit so, that there are at least 4 scouts in total and then recruit other units.
[ai]
  [aspect]
    id=recruitment-instructions
    [facet]
      [value]
        [recruit]
          type=scout
          number=4
          total=yes
          importance=1
        [/recruit]
        [recruit]
          importance=0
        [/recruit]
      [/value]
    [/facet]
  [/aspect]
[/ai]
Recruit 6 Grunts or level 2 units (whatever seems better for the AI).
Recruit 6 Grunts or level 2 units (whatever seems better for the AI).
Recruit 5 scouts with leader1 and 5 Grunts with leader 2. Do even recruit the Grunts if leader1 cannot recruit all of the scouts.
Recruit 5 scouts with leader1 and 5 Grunts with leader 2. Do even recruit the Grunts if leader1 cannot recruit all of the scouts.

Revision as of 21:21, 11 September 2013

This page is work in progress

How it works

Aspect recruitment_instruction

Examples

Recruit 3 Grunts (and nothing more) in turn 3-5.

[ai]
  [aspect]
    id=recruitment-instructions
    [facet]
      turns=3-5
      [value] 
        [recruit]
          type=Orcish Grunt
          number=3
        [/recruit]
      [/value]
    [/facet]
  [/aspect]
[/ai]

Recruit so, that there are at least 4 scouts in total and then recruit other units.

[ai]
  [aspect]
    id=recruitment-instructions
    [facet]
      [value] 
        [recruit]
          type=scout
          number=4
          total=yes
          importance=1
        [/recruit]
        [recruit]
          importance=0
        [/recruit]
      [/value]
    [/facet]
  [/aspect]
[/ai]

Recruit 6 Grunts or level 2 units (whatever seems better for the AI). Recruit 5 scouts with leader1 and 5 Grunts with leader 2. Do even recruit the Grunts if leader1 cannot recruit all of the scouts.

Do not recruit.

This will not work.

Other aspects

Examples

This page was last edited on 11 September 2013, at 21:21.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.