Commander under attack widget - Page 2

Commander under attack widget

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

Moderator: Moderators

100Gbps
Posts: 74
Joined: 30 Jan 2009, 13:19

Re: Commander under attack widget

Post by 100Gbps »

If you stop and think for a minute, you'll realise that counting survived ones is useless. At least we already use W/L ratio for disabling some units for each map and battle.

btw what exactly Spring.GetSideData returns? What param to pass so to get player's faction (arm or core) as string?
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Commander under attack widget

Post by Jonny5isalivetm »

Hi guys I can only see the widget in tweak mode what am I doing wrong ?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Commander under attack widget

Post by Jools »

Jonny5isalivetm wrote:Hi guys I can only see the widget in tweak mode what am I doing wrong ?
Not reading post #2 :)

If you want it to always appear, or to appear longer, adjust the displaytime constant.
User avatar
Jonny5isalivetm
Posts: 186
Joined: 04 Jul 2006, 02:43

Re: Commander under attack widget

Post by Jonny5isalivetm »

right :D
Post Reply

Return to “Lua Scripts”