Jump to content

Surrexen

Members
  • Posts

    725
  • Joined

  • Last visited

Everything posted by Surrexen

  1. Sounds like this: https://forums.eagle.ru/showthread.php?t=233505
  2. Yep I'm getting this too. A late activated SA-15 that hadn't been triggered yet was showing up in the SA page.
  3. WHOOOOOAAAAAAA It's on now!!!!! Awesome new trailer guys! Bring on the 13th :D
  4. This is going to be massive! Cannot wait!!!
  5. I'm trying to write a function that checks whether or not a group is a static object or not and I'm not sure how to do it. So far I can get this to work: local PrimaryGroup = Group.getByName("Objective " .. ScenarioNumber .. " Primary"):getCategory() But that gets the group category and not the object category. I'm not sure how to get object.getCategory to work :doh: Anyone done this that can help me out? Edit: Nevermind, got it. local StaticGroupTestPrimary = StaticObject.getByName("Objective " .. ScenarioNumber .. " Primary"):getCategory()
  6. Does anyone know if there is a way to disable the short run takeoff from the Admiral Kuznetsov via mission editor options or scripting? I'd like to force AI planes taking off from it to use the long run takeoff if possible.
  7. I just ran into this issue launching Su-33 AI's off the Kuznetsov, but if I run empty loadout with only 60% fuel it seems to be able to get in the air. This is off the short run take off.
  8. I figured it out after a lot of messing around: SET_MIG21Bis = SET_GROUP:New():FilterPrefixes( { "SQ IRN MiG-21Bis", "SQ RUS MiG-21Bis" } ):FilterCoalitions( "Red" ):FilterCountries( { "Russia", "Iran" } ):FilterStart() SET_MIG21Bis:HandleEvent(EVENTS.Dead):HandleEvent(EVENTS.Crash):HandleEvent(EVENTS.Ejection):HandleEvent(EVENTS.PilotDead) function SET_MIG21Bis:OnEventCrash(EventData) local CrashedUnitCoalition = EventData.IniCoalition local CrashedUnitType = EventData.IniTypeName --trigger.action.outText(CrashedUnitCoalition,15) --trigger.action.outText(CrashedUnitType,15) if ( CrashedUnitCoalition == 1 and CrashedUnitType == 'MiG-21Bis' ) then trigger.action.outText("A MiG-21Bis Has Crashed!",15) else -- Do nothing end end Just incase anyone finds it useful. Edit. If using the above you would also need to define the functions for SET_MIG21Bis:OnEjection, OnEventDead, OnPilotDead ... although it seems that the most useful one for planes is OnEventCrash.
  9. Thanks Hardcard for the help, I've nearly got this working exactly how I want but I've hit a snag. The following code is working for units in the map whether they are late activated or not, but not if the units were spawned from the AI A2A Dispatcher and I'm not sure why: SET_MIG21Bis = SET_GROUP:New() SET_MIG21Bis:FilterPrefixes( { "SQ IRN MiG-21Bis", "SQ RUS MiG-21Bis" } ) SET_MIG21Bis:FilterStart() SET_MIG21Bis:HandleEvent(EVENTS.Dead) function SET_MIG21Bis:OnEventDead(EventData) trigger.action.outText("A MiG-21Bis Has Been Destroyed!",15) end Is this because the dispatcher does something to the units in the group when they die or crash before this script can run? What am I missing?
  10. The first method was what I was trying to work out. That's brilliant thank you so much! Edit: Have tried plugging the first method into the mission and it isn't working for me yet. Edit 2: Got it working now :D
  11. Hi, I'm using the AI A2A Dispatcher to spawn squadrons etc. What I want to do is trigger messages to the player when planes are destroyed based on their prefix. For example if planes are spawned with names SQ IRN F-4E #001 and SQ IRN F-4E #002, how do I look for prefix of SQ IRN F-4E and trigger a message saying something like "An Iranian F-4E has been destroyed" Thanks in advance!
  12. Hornet was my first full fidelity module. It's fine to learn. Between Wag's tutorial videos and Chuck's guide you can just learn it bit by bit. Once you have gone through the process of learning one full fidelity module, any subsequent modules you get will be easier to learn as you will already understand a whole lot of fundamentals from learning the hornet.
  13. Do we know how soon for the canopy roughly? I love this module but it's so hard to see anything.
  14. This module is looking so amazing, just so amazing! Those flight characteristics look like a challenge! Cannot wait :D
  15. Oh wow this map is going to be awesome! Can't wait!
  16. I would love to know if this is planned.
  17. Oh good. I thought I had done something horribly wrong with the drop tanks and was wondering why the engine was sputtering and dying when selecting them. I just changed back to wing tanks and got on with the job. Plenty of fuel to get home even without the drop tanks.
  18. Sold. Whats the module name for the command line installer? Nevermind, got it: P51D-BLUENOSEDBASTARDS_campaign
  19. Surrexen

    what to buy

    If you are getting Nevada and go with the Mirage, definately get the red flag campaign for it, it's awesome!
  20. No worries, was just lucky I noticed it haha :thumbup:
  21. +1 nice work :D
  22. Just ran repair and tested it again, same thing.
  23. I had this and clearing fxo and metashaders2 and running repair fixed it.
  24. If I look left out of the cockpit and switch to outside view, the pilot model is looking right. If I go back to inside view and look right, then back to external view the model is looking left. Has the new pilot been into the MiG-21 radar fluid?
  25. Surrexen

    what to buy

    The Viggen and Mirage are both amazing. Mirage is more conventional. Viggen if you want something unique.
×
×
  • Create New...