OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: penguinman on 13 May 2005, 05:06:48

Title: AI asscesments
Post by: penguinman on 13 May 2005, 05:06:48
hi

could sombody make a script that alows the AI squads to asess stuff before doing things, for instance.

If you set up a 2 man squad of snipers and give them a waypoint to run right up to an enemy tank group on the way to the next one. they will do it and will die.

in real life they would try to find a way around the tanks.

or if a squad sees enemy infantry comming they would send their machine gunners and grenaders to either side of the enemy infantry comming and try to catch them in a cross fire.

or if a Static MG gunner sees a tank comming at him he will get out and run away insted of just staying in it.

and stuff like that.

thanks

Title: Re:AI asscesments
Post by: Uldics on 13 May 2005, 07:15:45
1.Look at the command knowsabout. Disadvantage: you have to know which tank to be aware of.
2.Use trigger detected by west, if your snipers are west.

3.The combination of the two abowe.