Jump to content

Recommended Posts

Posted

Suddenly a few of my scripts that have not been touched since January that have been working great suddenly don't work and are throwing errors in my log:

 

 

742: ')' expected near 'true'

 

 

function getAliveGroup(groupName)

   local group = Group.getByName(groupName)

742--->    if group and group:isExist() == true and #group:getUnits() > 0 then
       return group
   end

   return nil
end

 

 

It seems like something in the DCS lua framework may have changed?

"Through The Inferno" - Endless, Dynamic, Open-World Experience for DCS World
Website | Discord | Support TTI on Patreon

 
  • Recently Browsing   0 members

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