Defense-positions order changes entire mission?
PostPosted: 20 Nov 2008, 14:07
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:
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.