Page 1 of 1

Defense-positions order changes entire mission?

PostPosted: 20 Nov 2008, 14:07
by Thunderwolf
I have been playing around with my defense positions in a mission. I find that the order of the defense positions can have a large effect on the start of the mission.

Example:

2 meelee troops:
  Code:
!SET_GROUP 15 86 106 7 4 12 !SET_GROUP 16 62 122 6 4 8 [/quote] attack used: [code] !SET_AI_ATTACK TYPE 0 !SET_AI_ATTACK TOTAL_AMOUNT 8 !SET_AI_ATTACK TROUP_AMOUNT 0 1 !SET_AI_ATTACK TROUP_AMOUNT 1 0 !SET_AI_ATTACK TROUP_AMOUNT 2 0 !SET_AI_ATTACK TROUP_AMOUNT 3 0 !SET_AI_ATTACK TARGET 0 !COPY_AI_ATTACK 0 [/quote] 3 positions: [code] !SET_AI_DEFENSE 62 122 6 0 15 0 !SET_AI_DEFENSE 86 106 7 0 20 0 !SET_AI_DEFENSE 56 113 0 0 20 1 [/quote] effect: troops will stand on the first 2 positions, meaning they WON'T attack. 3 positions (another order): [code]  !SET_AI_DEFENSE 62 122 6 0 15 0 !SET_AI_DEFENSE 56 113 0 0 20 1 !SET_AI_DEFENSE 86 106 7 0 20 0 [/quote] effect: one troop will move to a defense position, the other one goes attacking. 3 positions (and another): [code] !SET_AI_DEFENSE 56 113 0 0 20 1 !SET_AI_DEFENSE 62 122 6 0 15 0 !SET_AI_DEFENSE 86 106 7 0 20 0 [/quote] effect: one troop will move to a defense position, the other one goes attacking. the troop who is defending will later on attack as well.

PostPosted: 21 Nov 2008, 03:50
by Lewin
That's only logical.
The AI will place troops at the defence positions in the order that they are defined. If you place the front line positions first then yes, they won't attack because they need back line troops.

That's why in missions such as 12 TSK, the green enemy will occupy defence positions in order, from his base and drawing closer and closer to yours. He puts troops at defence positions in the order they are defined.

Make sense doesn't it?
Lewin.