Jump to content

Recommended Posts

Posted

Trains have always been more special than normal unit objects. A number of scripting functions and triggers didn't work with trains at all from the start and the bug report made on it is still open. So there is a distinct possibility that function doesn't return trains.

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

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted
Trains have always been more special than normal unit objects. A number of scripting functions and triggers didn't work with trains at all from the start and the bug report made on it is still open. So there is a distinct possibility that function doesn't return trains.

Thanks :thumbup:

 

I also just checked with a basic code like

for i, gp in pairs(coalition.getGroups(2)) do
env.info(Group.getName(gp))
end

And it did not return my blue trains.

 

I hope it will work at some point, because it is quite a nice asset :)

A warrior's mission is to foster the success of others.

i9-12900K | RTX 4090 | 128 GB Ram 3200 MHz DDR-4 | Quest 3

RAT - On the Range - Rescue Helo - Recovery Tanker - Warehouse - Airboss

  • Recently Browsing   0 members

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