OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 22 Jul 2004, 19:39:53
-
Ok picture a convoy of four trucks, i have two enemy AT guys positioned to the side. The trucks stops at a checkpoint, now i want one AT guy to take out the first truck and the 2nd to take out the last one.
Now ive dun the neccesary doFire commands but sumtimes the AT guys just fire at the one truck or at another truck i dnt to be hit.
How can i make it so that the one AT guy only concentrates on that one particular truck and forgets the rest?
Cheers
Gooner
-
Make the other trucks setCaptive true.
Try playing with disableAI "target".
-
Setcaptive the trucks you don't want to be hit and setcaptive false them after.
As for targeting one or the other? Err remove one AT guys ammo and when one target is gone, give him back his ammo? :P