Search found 2 matches

by PrussianBlue
Tue Mar 08, 2016 11:36 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411224

Re: "Questions that don't deserve their own thread" thread

Alright, thank you very much for the help. I tried using ... inplace of arg but unpack threw an error. I realize now that it's because ... is a tuple instead of a table - in other words, it is already unpacked.
by PrussianBlue
Tue Mar 08, 2016 4:12 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 411224

Re: "Questions that don't deserve their own thread" thread

I am trying to create a function that takes an arbitrary amount of variables, like so: function GameInterface:passInputThroughStack(handler_function, ...) and I want to call the variables within the function using unpack(arg). The issue is - arg seems to be used by the engine itself, it's a table wi...