ZeunO8
ZeunO8

Reputation: 450

LuaInterface event handling

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

Upvotes: 1

Views: 664

Answers (1)

sbk
sbk

Reputation: 9508

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

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

Upvotes: 2

Related Questions