So, EntityControl's fields are:
/eval for k, v in pairs(Turbine.UI.Lotro.EntityC ontrol) do Turbine.Shell.WriteLine(k); end
Stretching an EntityControl over something you'd previously been RegisterForClickHandling, and then SetEntitying the EntityControl seems to work perfectly fine.
I'm not really sure how to use the EntityControl. Can you provide an explanation of what you mean by stretching an entity control over something?
If I have a label on in a window, would I:
(a) Create the control
(b) set the parent to the same window as the label
(c) change the size of it so that it covers the label
(d) se the z-order so that its "on top" of the label
Then it can get click events. Is that what's its used for? If not - what the heck is it ?
Thanks in advance,
Say originally I had a window w of size x,y and an entity e which I was doing e:RegisterForClickHandling(w). Now I'd have to do:
ec = Turbine.UI.Lotro.EntityControl ();
Thanks for this
If we use this approach in association with an Item, can we now grab the right click events for it?
Honestly? Not a clue. Up until this update I'd thought RegisterForClickHandling was an Actor thing, not an Entity thing, so it never even occurred to me to try it on items.
THE LORD OF THE RINGS ONLINE
™ interactive video game © 2011 Warner Bros. Entertainment Inc and patents pending. All rights reserved. Middle-earth Poster Map © 2007 The Saul Zaentz Company, d/b/a Middle-earth Enterprises (SZC), under license to Warner Bros. Entertainment Inc.. All rights reserved. "The Lord of the Rings Online", Middle-earth Enterprises logo, "The Lord of the Rings" and the names of the characters, events, items and places therein are trademarks or registered trademarks of SZC under license to Warner Bros. Entertainment Inc. Turbine and the Turbine logo are trademarks or registered trademarks of Warner Bros. Entertainment Inc. All other trademarks are the property of their respective owners.