OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mizilus on 22 Nov 2005, 01:16:09

Title: Radio for support
Post by: Mizilus on 22 Nov 2005, 01:16:09
In the mission editor is there a way to setup up helicopters and/or tanks to come to the group leaders location and provide fire support?

I have tried setting up a waypoint synchronized to a trigger and "Radio alpha", but it doesnt seem to work.

It doesnt help that I dont know what I am doing

Its a Nam mission in which I would like to be able to call helicopter gunship support as well as tanks and maybe an airstrike from jets. Do I have to use scripts or can it be done in the editor? Do i have to give any special instructions to the units that will show up when radio'd?
Title: Re:Radio for support
Post by: Tyger on 22 Nov 2005, 01:38:12
Mkay. Create your helicopter. Make sure he is flying.In his init line type:
Code: [Select]
SupportGrp_One = group this

Next, make a move WP directly on top of him. In the On Activation line type
Code: [Select]
[SupportGrp_One,1] setWPPos (getPos player)
.
 Sync a trigger with Activation: Radio Alpha to that WP.

Finally, make an SAD WP close to the chopper.

That should do it.
Title: Re:Radio for support
Post by: Mizilus on 22 Nov 2005, 04:27:17
Hmmm... still having trouble. Do I need to name the group or something?
Title: Re:Radio for support
Post by: bedges on 22 Nov 2005, 09:47:16
take a look at the tutorial mission (http://www.ofpec.com/editors/resource_view.php?id=84) by macguba. if i remember correctly, it has radio-controlled reinforcements. take a look and see how it's done.
Title: Re:Radio for support
Post by: macguba on 22 Nov 2005, 10:04:56
A combination of Tyger's answer and the Tutorial Mission will give you exactly what you want.