Can I forbid pursuit by code?

Moderator: rbodleyscott

Post Reply
locustmustdie
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 117
Joined: Fri Mar 05, 2021 11:33 am

Can I forbid pursuit by code?

Post by locustmustdie »

I installed an air wall,for units out of defending zone to lose all mobility. However when being attacked,will the defender go out of zone accidentally by pushing back or pursuing enemy? Can pursuit be forbidden? According to manuals, cavalry,undrilled foot and raws have a chance to get extra AP to pursuit.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28401
Joined: Sun Dec 04, 2005 6:25 pm

Re: Can I forbid pursuit by code?

Post by rbodleyscott »

It would be relatively easy to prevent pursuit using modded scripts.

Not without.

The problem with using modded scripts in player created content is that the scenario may cease to work if a subsequent update adds new functions to the vanilla scripts.
Richard Bodley Scott

Image
locustmustdie
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 117
Joined: Fri Mar 05, 2021 11:33 am

Re: Can I forbid pursuit by code?

Post by locustmustdie »

well,I shall try setattrib(me,"movecost",3) to draint their AP,at least they can’t go far.
Post Reply

Return to “Field of Glory II: Medieval - Scenario Design”