Jump to content

[REPORTED]Calling "getUnits" on a group with MI-8 or UH-1 units causes crash


gromit190
 Share

Recommended Posts

Steps to reproduce:

 

 

- Add a BLUE MI-8 or UH-1 huey to a mission

- Play as the unit

local groups = coalition.getGroups(coalition.side.BLUE)
for i = 1, #groups do
   env.info("CRASHING TIME")
   local units = groups[i]:getUnits() --   <- Will crash if the group has a MI-8 or UH-1
end


Edited by BIGNEWY
TITLE
Link to comment
Share on other sites

I actually prefer release bugs to get posted in this section since more than likely the two versions will be on the same game version. Not to mention it is categorized and less likely a bug gets missed due to other threads getting posted/refreshed more often.

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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