How would I go about to get multiple results from function or lua in general
For example lets say I wanted where if you got hit it could range from several numbers like 36 19 40.
I mean could I just use a table?
Are you talking about returning muliple data from a function, like so?
local a = 5 local b = 8 local c = 3 function GetData() return a, b, c end local d, e, f = GetData() print(d+e+f)