Osi Posted December 28, 2020 Posted December 28, 2020 Hello, I use this lines : local su24=RAT:New("RAT SU24") su24:Spawn(1) I would like increase planes in group, i don't know use "rat.groupsize" how to do ? i'm starting to learn LUA... Take care.
Rudel_chw Posted December 28, 2020 Posted December 28, 2020 (edited) Here is the RAT documentation, so you can understand better how this works: https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Rat.html Your "rat su24" is a template group that you have to place. Simply make this template a 2-ship, 3-ship or 4-ship, instead of a single plane. All spawned copies will have this number of units. Edited December 28, 2020 by Rudel_chw For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Osi Posted December 28, 2020 Author Posted December 28, 2020 yes in ME it work, but i would like use this command in my script : #number RAT.groupsize Number of aircraft in group. I read doc. but i do not understand...
Rudel_chw Posted December 28, 2020 Posted December 28, 2020 Ahh, ok, sorry I dont know enough scripting to help you with this For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Osi Posted December 30, 2020 Author Posted December 30, 2020 (edited) it works local rr=RAT:New("RAT SU34") rr:InitGrouping(3) rr:Spawn(1) this script will spawn a su24's group of 3 planes. Edited December 30, 2020 by Osi 1
Recommended Posts