Share Units Widget - feature request

Share Units Widget - feature request

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

Moderator: Moderators

Post Reply
Lupus
Posts: 37
Joined: 18 Jan 2008, 22:23

Share Units Widget - feature request

Post by Lupus »

Hello there,
I've found very useful widget on Unknown Files: Share Units Widget v0.8

Description:
Adds a command: "/luaui shareunits <Name/teamID>"

Can be bound to a key by adding for example "bind Ctrl+Alt+F1 luaui shareunits MelTraX" to uikeys.txt, everytime you press Ctrl+Alt+F1, you will give me your selected units whenever I'm allied with you..
I'd live to see a feature to also give resources to my ally in that way. Most likely, a function which gives to desired ally for example 20% of my metal or energy.

Would it be possible to write?
Post Reply

Return to “Lua Scripts”