OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Dubieman on 27 Mar 2005, 20:58:26

Title: Fighting with HEAT
Post by: Dubieman on 27 Mar 2005, 20:58:26
I'll make this short. I was gonna write a long spiel...

Is there an easy way for a tank to effectively fight with Sabot and Heat?

Like if the units in the area don't know of any armor, then the tank switches to Heat to deal with infantry. If there is armor it just stays with Sabot.
Title: Re:Fighting with HEAT
Post by: dmakatra on 27 Mar 2005, 23:00:36
Yea sure. Use Barron's knownunits function, check the array for armor. If armor, go with shell. If no armor, go with HEAT.

:beat: *Gets Shot* :beat: