OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
Maybe a setcaptive true on the tanks until they roll past? :-\
-
Take away the mortars' ammo till you want them to fire.
-
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
-
removeMagazines