OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The_Bishop_Ghost on 16 Sep 2005, 20:49:07

Title: making an aircraft attack...
Post by: The_Bishop_Ghost on 16 Sep 2005, 20:49:07
Im working on an Invasion Malden Campaign in a fictious future. In one of the cut scenes I want a group of russian Tu-22s to attack a ship. I've been trying to use the "Dotarget" and "Dofire" script. But it wont work. I've used it in both triggers and way points. Any ideas how i can fix this?
Title: Re:making an aircraft attack...
Post by: h- on 16 Sep 2005, 21:20:14
What kind of ship?

If it's the Mk.II PBR or the East side Boat or something similar, then just place a destroy waypoint on the boat for the plane...

If it's LST the AI doesn't seem to wanna attack it, at least not with destroy WP... Just flies into it...
Title: Re:making an aircraft attack...
Post by: bored_onion on 16 Sep 2005, 22:37:57
if its an LST then you could stick an invisible target in or near it. then the plane would attack it. you'd need to provide the damage, though, because they're hard as nails.
Title: Re:making an aircraft attack...
Post by: The-Architect on 17 Sep 2005, 01:02:41
Will it work if you put some Helipads there? Invisible one of course. Maybe they'll attack those but I really don't know.
Title: Re:making an aircraft attack...
Post by: Kyle Sarnik on 17 Sep 2005, 03:15:22
Will it work if you put some Helipads there? Invisible one of course. Maybe they'll attack those but I really don't know.

You can't target such objects. This really shouldn't be such a hard thing to do, just try a few of your own methods, its bound to work.
Title: Re:making an aircraft attack...
Post by: Terox on 17 Sep 2005, 17:14:11
following placed in the init field of an east or west unit would make the LST side specific

this Moveindriver LSTname

however the use of invisible targets is the best option, like the ones from the BAS isle
Title: Re:making an aircraft attack...
Post by: The_Bishop_Ghost on 17 Sep 2005, 18:59:14
at the moment it will be eiither the USS Tor (cant remeber the name, it's the US marine assult ship by PC) or the USS Nimitz.