LuaInterface event handling

662 views Asked by At

I have looked around for a good tutorial on how to Handle events using LuaInterface, but am still stuck trying to find one that actually explains what must be done in detail.

Could someone write up a simple tutorial, or point me in the direction of one?

Thanks Twitchy

1

There are 1 answers

0
sbk On

Here's a tutorial on LuaInterface. From the form examples there:

button.Click:Add(function()
    MessageBox.Show("Button clicked!","Title",MessageBoxButtons.OK)
end)