Jump to content

Recommended Posts

Posted

Hi,

 

i would appreciate some help with a mission i'm creating.

 

My plan is to set up an kind of realistic Air Defence.

To do so, i switch On/Off radars of the red SAM system, whenever any blue A/C are in it's engagement zone. After Radar is switched on, a SEAD patrol (AI Tornado) should shoot a HARM at this threat. This perfectly works so far...

But now, i want to switch the radar off again, (a few seconds after) whenever a HARM is fired. To do that, i need to set a Flag, whenever a HARM is launched.

 

Now the tricky part: I know there is something in MIST called mist.addEventHandler. As far as i understand (in my very little scripting knowledge), it counts certain events (e.g. when a specific weapon is launched). Can i use it and script something like:

 

if event x happens (counted by the eventHandler) > set flag y ??

 

I really would appreciate your help! I barely startet with MIST so this whole world is still a bit "complicate" for me.

GeForce RTX 4090 Founders Edition - AMD Ryzen 7 5800X3D - 64Gb RAM - Win11 - HP Reverb G1 - Thrustmaster Warthog HOTAS (40cm extension) - VKB Sim T-Rudder MKIV Pedals

Posted

yes the IADS script is likely your best route...

 

You did get me thinking though...

 

we have a BOMB IN ZONE trigger which allows flag based ME logic to be based off the presence of these munitions.... maybe the trigger should be expanded in the ME to be MUNITIONS IN ZONE and include the missiles as well?

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Posted

You might also want to check Mbot s Caucasus Campaign for the MiG21. It cotains a script which switches off Sams when ARMs are fired.

[sIGPIC][/sIGPIC]

 

Unsere Facebook-Seite

Posted

Thank you guys very much!!!

 

The "smarter sams" script in combination with the trigger i set up did it for me.

 

I also wanna try the iads script which seems to be really top notch!

 

Yes, a "weapons in zone trigger" would be wonderful. I don't now which mission it was, but i was creating one where i was desperately seeking for something like this!

GeForce RTX 4090 Founders Edition - AMD Ryzen 7 5800X3D - 64Gb RAM - Win11 - HP Reverb G1 - Thrustmaster Warthog HOTAS (40cm extension) - VKB Sim T-Rudder MKIV Pedals

  • Recently Browsing   0 members

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