This is more of a LUA based question, but short and sweet:
Say I have 10 functions and I want to randomly select 3 of those functions to run. Would it be possible to concatenate these functions such that during the initialization stage I could select the 3 functions and prevent myself from having to do 10 checks over and over again?
E.g.,
[lua]local func1 = math.random(1,10)
local func2 = math.random(1,10)
local func3 = math.random(1,10)
–local allFuncs = func1 + func2 + func3[/lua]
Something like that. Is this possible? To have moving modules of code?
[import]uid: 52208 topic_id: 18575 reply_id: 318575[/import]
[import]uid: 52208 topic_id: 18575 reply_id: 71632[/import]