411
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
local Handle = mc.mcIoGetHandle (inst, "Keyboard/Enable")
if Handle ~= nil then
mc.mcIoSetState(Handle,0)
end
The mc.mcCntlSetLastError() will never execute because it is after the "return". Any lines of code between a "return" and an "end" (end of code block) will not be executed. So move the mc.mcCntLSetLastError() line between the "if" and the "return" so that it looks like this:
If I understand correctly plugins are C++ programs that interface with the Mach4 core
whereas Lua scripts are 'within' Mach4.