Post 15 Dec 2011, 18:39 by The Dark Lord
As far as I know, TYPE 1 attacks work fine. (I haven't had problems with it.)
The counter is only useful for TYPE 1 attacks, because TYPE 0 and TYPE 2 attacks will be launched as soon as the required amount of soldiers is available. So if you want an army to attack after 1 hour and you set a counter to achieve this, if the attack is a TYPE 0 or TYPE 2 attack the counter will be ignored.
On the other hand, it is possible to create a functioning attack by mixing up certain attacks. An example:
!SET_AI_ATTACK TYPE 2
!SET_AI_ATTACK TOTAL_AMOUNT 1
!SET_AI_ATTACK TROUP_AMOUNT 0 0
!SET_AI_ATTACK TROUP_AMOUNT 1 0
!SET_AI_ATTACK TROUP_AMOUNT 2 1
!SET_AI_ATTACK TROUP_AMOUNT 3 0
!SET_AI_ATTACK COUNTER 50
!SET_AI_ATTACK TARGET 0
!COPY_AI_ATTACK 0
I used this attack in mission 6 from The New Lands, and the archers were acting rather nicely, attacking my troops instead of just blindly walking into them. My theory is that because it's a TYPE 2 attack, the AI will keep recalculating where he has to attack. Yet I don't know if that's just coincidence or if it really works this way. Unfortunately the only time I've tried this was in mission 6 TNL.