Jump to content

Recommended Posts

Posted

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.

 

Posted (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 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

Posted

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

Posted (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 by Osi
  • Thanks 1
  • Recently Browsing   0 members

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