Home   Help Search Login Register  

Author Topic: Helicopter support  (Read 837 times)

0 Members and 1 Guest are viewing this topic.

cobalt98

  • Guest
Helicopter support
« on: 10 Jun 2004, 01:00:09 »
Hey I need some help with scripting, I need a helicopter to fly to a point and give some cover for a little bit then fly back to base and be able to be called again via radio.

Oh and refer to my post on ofpnam about my mission that im almost completed with, just need some help with a couple of scripts.

http://www.ofpnam.com/forum_viewtopic.php?10.563

Oh and by the way I had to change the NVA soldiers to VC soldiers because they dont have sidearms. when the NVA soldiers neared thier target in the center they would draw thier sidearms instead of shooting with thier primaries. Strange, any answers about that?
« Last Edit: 10 Jun 2004, 01:01:15 by cobalt98 »

CrashnBurn

  • Guest
Re:Helicopter support
« Reply #1 on: 12 Jun 2004, 16:44:00 »
This is easy to do with a few waypoints and triggers. DePBO the 1985.pbo mission 30WakeUpCall.Cain and look at how BI setup the Hinds patrol. It uses a repeated detection trigger to call the hind multiple times, but you could easily change to a radio trigger, and with the 'setwppos' command, you could move a seek and destroy waypoint wherever you need air support. When setup properly, this is very reliable and easier to do than writing a script.

As far as the pistols go, the game is coded for the soldiers who have pistols to use them at certain ranges. It may be best to remove the pistols and only give them primary weaps. They'll probably live longer.
« Last Edit: 12 Jun 2004, 17:02:37 by CrashnBurn »