OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 19 Jul 2004, 15:11:49

Title: Don't fire at the tanks but fire at the infantry!!
Post by: Gooner861 on 19 Jul 2004, 15:11:49
Hello people,

Ok so i have sum mortars positioned around an enemy town.

Now first a few tanks roll on into the town to clear out any armour but i dnt want the mortars to fire at the tanks when they get in range cos 1) no way are they gonna destroy the tanks and 2) its wasting there ammo which cud be used on the helpless infantry.

How can i make a unit especially the mortar to NOT fire at the tanks but DO fire at the units.

Cheers

Gooner
Title: Re:Don't fire at the tanks but fire at the infantry!!
Post by: Dubieman on 19 Jul 2004, 15:17:12
Maybe a setcaptive true on the tanks until they roll past? :-\
Title: Re:Don't fire at the tanks but fire at the infantry!!
Post by: macguba on 19 Jul 2004, 15:50:51
Take away the mortars' ammo till you want them to fire.
Title: Re:Don't fire at the tanks but fire at the infantry!!
Post by: Gooner861 on 19 Jul 2004, 18:28:46
Ok thanks but how do i do that? I know how to add amoo but not how to take it away and than put it back again.

Cheers

Gooner
Title: Re:Don't fire at the tanks but fire at the infantry!!
Post by: macguba on 19 Jul 2004, 21:37:02
removeMagazines