Deleting all units from one side via Lua script (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion



Message


MrGandi -> Deleting all units from one side via Lua script (10/16/2018 9:01:07 PM)

Hey folks,

Does anybody know how to use the Lua function "ScenEdit_RemoveSide"?
I would like to remove all present units of one side and this function could be very handy but I'm not able to make it work.

How would an alternative script look like?

Many thanks in advance





michaelm75au -> RE: Deleting all units from one side via Lua script (10/16/2018 10:51:02 PM)

ScenEdit_RemoveSide({side='NameofSide'})

It returns a table of items that were on the 'Side' before they were removed.




MrGandi -> RE: Deleting all units from one side via Lua script (10/18/2018 7:25:02 PM)

Thank you.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.828125