Jump to content

Recommended Posts

Posted

hi,

I made a mission,A pair of Apache helicopters are in on hold Somewhere,

I want them to reach and respond after a unit destroyed Somewhere.

How I do it?

The 147 Squadron commander

"The Goring Ram"

Posted

Not quite sure what you mean, you want them to leave the hold and then head off in the direction of the destroyed unit?

 

If so you will first need to set an orbit at the waypoint where you want your apache to hold & tick the box flag number in the stop condition of the orbit. In your triggers you can then set that same flag number to true when the unit is destroyed. Thats the easy part.

 

If you want them to head off to any destroyed units then you are going to have to create multiple waypoints over all of the units you want the apache to cover. Then at the waypoint after the orbit you will have to set multiple switch waypoint commands based on a bunch of different flags in the switch waypoint start condition. These flags must be set in your trigger section by ONCE UNIT DEAD a FLAG TRUE 5, ONCE UNIT DEAD b FLAG TRUE 6 and so on.

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted (edited)

Set a stop condition for orbit task on user flag activation. Activate flag with a trigger of type:

 

ONCE -> UNIT DEAD(unit) -> FLAG ON(flagId)

 

Once the unit is dead, flag x will be true and orbit task will end. Your Apaches will continue their flight plan.

 

P.D: Druid always fast to the rescue!!

Edited by miguelaco
Posted (edited)

on orbit click on STOP CONDITION. tick the is user flag box and place a 1 in the is user flag number box, place another tick after the number for true.

 

Change your first trigger condition to TIME MORE 30 to test it properly (Apache should orbit for 30 secs)

 

should work

Edited by Druid_

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted

OK. Sorry busy doing other stuff at same time, got it working. I can't post the miz for you as I have not got patch 1.1.09 installed besides its best you learn by doing it yourself.

 

At Waypoint 0 you need to set a speed other than zero, I changed it to 90. I also changed the altitude at WP 0 to 200. Then change orbit type to circle (its currently race-track) and increase orbit altitude to 100ft.

 

That should work fine.

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted (edited)

Not at all, I have the advantage of tinkering with the mission editor for some time now. A lot of it is trial and error. Change this, change that & try again.

 

May I suggest that maybe you download a few other peoples missions (avoid Speeds) and open them up in the Mission Editor and look at whats happening. Its not easy to read someone elses missions but you never know you might pick up an idea or two as well as answer some future questions/problems. Thats how I started...

 

As always glad to help out a fellow miz builder, let me know how you get on with the above fixes.

Edited by Druid_

i7-7700K : 16Gb DDR4 2800 Mhz : Asus Mobo : 2TB HDD : Intel 520 SSD 240gb : RTX 2080ti: Win10 64pro : Dx10 : TrackiR4 : TM Warthog : ASUS ROG SWIFT PG348Q

Posted

yessssssssssssssssssss

It works great Cool.

Thank you for your assistance

If you ever need help to attack targets I'll be there for you :)

The 147 Squadron commander

"The Goring Ram"

Posted

Now,after it works

Is there a way or command to tell the helicopter to hover without moving from his place?

The 147 Squadron commander

"The Goring Ram"

Posted
Now,after it works

Is there a way or command to tell the helicopter to hover without moving from his place?

 

Circular orbit, speed = 0, altitude = whatever you want. Helo should hover. At least, it did last I checked.

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...