Hasn't always been the case that all callins are available everywhere, only since lua split and even then there might be some that are only in one or the otherSilentwings wrote:All callins used in that gadget are available too widgets. Check the widget handler or https://springrts.com/wiki/Lua:Callins if you are ever confused about such things. Of course, you would have to handle the difficulty that LuaUI only has access to information that is available to the player running your widget; as such you cannot determine in every case whether a wreck was last owned by a friendly or enemy player, but in most cases you have enough information to make a reasonable guess.That uses gadget callins, unavailable at widget level... And widget:UnitDestroyed is only called with your own units...
Resurrection halos widget
Moderator: Moderators
Re: Resurrection halos widget
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Resurrection halos widget
I checked all the ones needed here, just to make sure that Floris hadn't unknowingly found into a bug in BAs widget handler.
Re: Resurrection halos widget
Oh noes.. i dropped it.. it just lies there - at a Units feet... how unfortunate

edit : Thank you floris, did see the new EnemySpotter-Widget 3.0 with textures just now.
http://widgets.springrts.de/index.php#256
Sorry for requesting allready implemented stuff.

Looks great!
edit : Thank you floris, did see the new EnemySpotter-Widget 3.0 with textures just now.
http://widgets.springrts.de/index.php#256
Sorry for requesting allready implemented stuff.
Looks great!
- Attachments
-
- why cant some guys accept no for an answer.jpg
- (588.78 KiB) Downloaded 3 times
-
- halo2.png (76.88 KiB) Viewed 983 times
Last edited by PicassoCT on 07 Feb 2015, 20:09, edited 1 time in total.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: Resurrection halos widget
This change should help you get better info http://imolarpg.dyndns.org/trac/balatest/changeset/3528
Re: Resurrection halos widget
- halos fade out at large camera distance
- fixed error
- fixed error