I am trying to compile a LUA script and continuously getting:
can not use '...' outside a var arg function near '...'
I have spent ages trying to get it work.
Here is a demo of what I have tried.
Function Demo(Val_1,Val_2,Val_3)
Local A1, A2, A3, A4
A1 = {
[4] = ...
}
A4 = ...
;({
[4] = ...
})[1] = A2
;({
[4] = ...
})[2] = A3
;({
[4] = ...
})[3] = A4
--Rest of data is used further on.... Just keep getting errors in this section.
Would someone please restructure this? I am using VB.NET and this is a little confusing. I have had a go, but it doesn't run correctly.