Page 1 of 1

How/For what to use PATROL, RANDOM PATROL?

Posted: Mon Jan 21, 2013 8:35 pm
by Uhu
Sorry guys for the repeated questions but as long as the scn editor manual is not updated I have to ask you. :)

Re: How/For what to use PATROL, RANDOM PATROL?

Posted: Mon Jan 21, 2013 8:41 pm
by nikivdd
Uhu wrote:Sorry guys for the repeated questions but as long as the scn editor manual is not updated I have to ask you. :)
I haven't used random patrol, perhaps that is the erratic version of patrol.

How to use patrol?
Assign a zone (1-32) to a hex or a number of hexes. When you give the unit the patrol command in zone X, it will move only inside that zone (or towards it if the unit is placed outside this zone). It might also attack units that enter this zone.

Re: How/For what to use PATROL, RANDOM PATROL?

Posted: Tue Jan 22, 2013 12:26 am
by Uhu
Thanks for the info!
nikivdd wrote:
Uhu wrote:Sorry guys for the repeated questions but as long as the scn editor manual is not updated I have to ask you. :)
I haven't used random patrol, perhaps that is the erratic version of patrol.

How to use patrol?
Assign a zone (1-32) to a hex or a number of hexes. When you give the unit the patrol command in zone X, it will move only inside that zone (or towards it if the unit is placed outside this zone). It might also attack units that enter this zone.

Re: How/For what to use PATROL, RANDOM PATROL?

Posted: Tue Jan 22, 2013 5:56 am
by Razz1
Or you can use one zone, but mark two hexes with that zone Number.

This way the AI will go from one hex to the other.

Re: How/For what to use PATROL, RANDOM PATROL?

Posted: Tue Jan 22, 2013 12:41 pm
by McGuba
Our friend bebro asked the devs about this somewhere else earlier and Rudankort was kind enough to provide a detailed answere:

Postby Rudankort ยป Mon Oct 15, 2012 6:50 pm
AI zone is mandatory for the following 5 AI orders:

Move To. The unit will move to the nearest hex in AI zone, then next nearest and until the zone is exhausted. Then its behavior will reset to Default.
Random Move To. The unit will select random hex from AI zone and move there. Then its behavior will reset to Default.
Patrol. The unit will move to the nearest hex in AI zone, then next nearest etc. untis the zone is exhausted, then it will start from the first hex again etc. in a loop.
Random Patrol. On every turn the unit will choose a random hex from AI zone and move there.
Disembark. The unit will choose a random hex from AI zone and will move and then disembark there. Then its behavior will reset to Default. This behavior is similar to "Random Move To", only disembark action is added in the end.

All the other AI behaviors do not use AI zone setting.