Jump to content

Zachc12385

Members
  • Posts

    33
  • Joined

  • Last visited

Everything posted by Zachc12385

  1. @Grimes Thank you for responding im still however having issues. heres my script im not sure what is wrong local function doRequestFunction(vars) if vars.type == "SEAD" then if not Group.getByName('Aerial-21') then mist.respawnGroup('Aerial-21', true) if not Group.getByName('Aerial-22') then mist.respawnGroup('Aerial-22', true) end elseif vars.type == "CAS" then if not Group.getByName('Aerial-23') then mist.respawnGroup('Aerial-23', true) if not Group.getByName('Aerial-24') then mist.respawnGroup('Aerial-24', true) end end end local requestM = missionCommands.addSubMenu('Request Asset') local rSead = missionCommands.addCommand('SEAD', requestM, doRequestFunction, {type = "SEAD"}) local rCAS = missionCommands.addCommand('CAS', requestM, doRequestFunction, {type = "CAS"}) I'm pretty new to lua. all i want to do is spawn 2 groups when the radio command is selected.
  2. Hey guys I recently made a mission that uses radio commands to spawn air units infinitely and it works great. The only thing i want to learn is how to add radio commands using scripts as opposed to triggers in the mission editor. I tried messing around with some of the scripts on the mist website like... local requestM = missionCommands.addSubMenu('Request Asset') local rSead = missionCommands.addCommand('SEAD', requestM, doRequestFunction, {type = 'SEAD"}) local rCAS = missionCommands.addCommand('CAS', requestM, doRequestFunction, {type = 'CAS"}) local rCAP= missionCommands.addCommand('CAP', requestM, doRequestFunction, {type = 'CAP"}) ...but for the life of me i cant figure it out. can someone help this make sense to me? I can add the sub menu however the commands always return an error. I attached my miz file to show you what im working with. Its a great mission i just want to get to that next level and do some more complex scripting. Thank you Syria dynamic AA.miz
  3. after flying around a bit i have this bug where the jdam disappears from smart weapons page after designating and transferring the info from the tpod to the jdam. the name disappears and i get no coordinates so i cant drop the bomb
  4. I created a custom mission where you can spawn in aircraft through the f-10 menu and when I spawn the aircraft in for the first time I can see enemy aircraft on the datalink just fine. Everything works fine until i reset the aircraft and spawn them in once again. Once you reset the planes you can no longer pick up the enemy aircraft on datalink even though they are there. Surprisingly this bug only happens on modern era planes with datalink which means you can still see older planes on datalink such as the F-16A, Mig-23, Mig-21, etc. I hope this helps Persain gulf reset bug.trk
  5. I figured out the problem! Controllers work as they should now. Only hiccup is only 2 of the 3 mfds show up in the TARGET software. Anyone know how to make them all show up so I can adjust the mfd brightness in the future? edit: I had to make mfd 2 mfd 3 in the game controller settings
  6. Hello I recently added a third TM cougar mfd and it works good However whenever I restart the game my controls get swapped around. Usually my right and middle mfd controls get swapped around making me remap the controls every time I reboot the game. is there a way to fix this? I’ve looked around on forums and YouTube and found no fix.
×
×
  • Create New...