Originally Posted by Flan
So this is the problem i have ran into!
... Rings Online\Plugins\TurbinePlugins\Vitals\Main.lua:14: attempt to call field 'Entity' (a nil value)
I am completely new to lua programming and definitely plugins so if you could help me more it would be appreciated!
I just want the Its You "name"!!!!! option menu
Oops. My error - I didn't pay attention, the forums added a space in the name of the control and changed the 'C' to lowercase. I hate when forums think they know better... grrrr
Anyway, the control is
I erroneously copied just the Turbine.UI.Lotro.Entity in my example. It should have been:
You need to explicitly include each part of the namespace, so you should have:
usually in your main lua file.
I would recommend that you find an existing plugin that uses an EntityControl and see how it is used in practice. There are tons of other plugins and I am sure at least one uses an EntityControl. I would start by searching plugins with the key word 'Vitals' and download a few and see how the authors implement the controls. Since Lua is a scripting language, the best way to learn about it is to dismantle existing samples.