Page 1 of 1
Self-D icons widget
Posted: 22 Jan 2015, 00:47
by Floris
Displays a skull icon plus countdown timer at every unit that received a self-d order.
Re: Self-D icons widget
Posted: 22 Jan 2015, 00:48
by smoth
very cool.
Re: Self-D icons widget
Posted: 22 Jan 2015, 03:26
by jK
Floris wrote:Displays a skull icon plus countdown timer at every unit that received a self-d order.
- known bug: when selfd-units get emp'd the countdown won't pause.
Spring.GetUnitSelfDTime?
Re: Self-D icons widget
Posted: 22 Jan 2015, 17:38
by Floris
Thanks jK!
new version uploaded:
- Changed font to have more detail and a black outline, same style as the skull.
- Searches for selfd cmd's on initialize()
- Units that are not self-d-ing yet but have the cmd queued will only display the skull icon.
Re: Self-D icons widget
Posted: 22 Jan 2015, 18:14
by jamerlan
[f=0002676] Error in DrawWorld(): [string "LuaUI/Widgets/gui_selfd_icons.lua"]:50: attempt to index upvalue 'font' (a nil value)
Re: Self-D icons widget
Posted: 22 Jan 2015, 18:41
by Floris
Included the font in the package, hope this helps. Thought it was a default font.
Re: Self-D icons widget
Posted: 18 Feb 2015, 04:25
by Floris
fixed error