Zero-K Mission editor

Zero-K Mission editor

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Posts: 190
Joined: 08 Oct 2006, 10:33

Zero-K Mission editor

Post by daryl »


Can I get, via lua, the group name of a unit created via Zero-K mission editor?

i would like implement my code

Code: Select all


atlas= "get the group name setted in Zero-K mission editor"

Spring.GiveOrderToUnit(atlas, CMD.LOAD_UNITS, { com }, {"shift"})
Spring.GiveOrderToUnit(atlas, CMD.UNLOAD_UNITS, {3200,0,3500,0}, {"shift"})
It's possible?
0 x

Posts: 2448
Joined: 12 Oct 2007, 09:24

Re: Zero-K Mission editor

Post by Google_Frog »

The group name is probably a UnitRulesParam, I don't know much more though.
0 x

Post Reply

Return to “Lua Scripts”