jhughes/insight — pull request #24 by basti1337 (2012-05-05 20:13:30+00:00)
Title: Unitframe Click

Heyho!
I was missing some kind of feature in your spectator GUI for clicking on a player to move the camera to him. So I decided to implement it by myself. I dont know if that what I've done could be implemented in an easier way, because I've just started this afternoon to look into the NS2 lua code.
I also wanted to say that the unitframes should be recoded in such a way that each element is more responsive to the user input. What has to be done to simulate mouse click/over/hold events right now is kind of hacky and I also think the performance is suffering from this and some other things.
Maybe I could do a rework, but I don't know if the time is worth it and also if I really want to do it.

Bye