You must be logged in to post messages.
Please login or register

AI & RM Scripting
Moderated by Leif Ericson

Hop to:    
Welcome! You are not logged in. Please Login or Register.No replies
Age of Kings Heaven » Forums » AI & RM Scripting » attack walls AI + triggers
Bottom
Topic Subject:attack walls AI + triggers
Rico_jolla
Squire
posted 04-14-19 04:26 PM CT (US)         
So i give the peasants of my base the possibility to build walls (single player game).

Then I set some triggers that group enemy soldiers and send them against my base in packets (patrol groups).

The problem is that, if i make some walls between the enemies and their destination patrol point, they don't attack the walls.

I put in the script the defconst set-strategic-number sn-wall-targeting-mode 1 in the hope that they would attack the walls.

This works only if the enemy troops have already been stopped, in their patrol, by something.

Anybody knows how to solve this?

~--------------------------~{}~--------------------------~
> PROPHETS OF DOOM <
o> Project Thread: https://tinyurl.com/y93q84s9
~---------------------------~~---------------------------~
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames