is it possible to call a function from a variable? all functions take the same parameters
i saw something like #PARAM(var) but i don't know how to use it for my problem :/
in wc3 there was a variable type called code that works like this
local code func = function BlaBla
and i also don't want to make 1 function and 10 if's
yea i know
but i want to call a function stored in a variable like
call VaraiableFunc[i](i,"idk",unit)
is it possible to call a function from a variable? all functions take the same parameters
i saw something like #PARAM(var) but i don't know how to use it for my problem :/
in wc3 there was a variable type called code that works like this
local code func = function BlaBla
and i also don't want to make 1 function and 10 if's
some kind of interface