SetTeamAggression(side, team, aggr)

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

SetTeamAggression(side, team, aggr)

Post by enric »

Is there any place where the last parameter is explained?
pipfromslitherine
Site Admin
Site Admin
Posts: 9928
Joined: Wed Mar 23, 2005 10:35 pm

Re: SetTeamAggression(side, team, aggr)

Post by pipfromslitherine »

Aggression? There are posts from way back with the bitfields explained. Hmmm - I thought they were detailed in the editor tutorial too, although I could be wrong. I know they are in J2D's thread.

2 - keep the team grouped together when moving
4 - attempt to avoid the enemy when moving
8 - ignore the enemy when moving (don't engage them)
16 - seek and destroy
32 - use the threat map when moving around (basically use longer routes to reduce attacks)
64 - stay dug in

You can combine by adding those which are not obviously contradictory :)

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”