stainedofmind
Member
So, currently with macros, you can do something like this:
... But, it would be nice if we were able to do something like this as well:
... Which produces the compile Errors: "cannot use function/script name for a variable, "irandom_range" twice, and "unknown function or script rnd"
Is this possible?
Code:
#macro rnd irandom_range(1, 6)
var res = rnd;
show_message(res);
Code:
#macro rnd irandom_range
var res = rnd(1, 6);
show_message(res);
Is this possible?