Quote:
Originally posted by LiquidIce00
get object exists .. they got board[] and testnpc, testplayer,testbomb.. and function argument has already been suggested a few times. .
and return is kinda useless since Graal variables are avaible to the whole script
|
board[] = An array, Not a function
All the other things are predifined functions. I want it enabled to that you can do funciton arguments when you create your own functions
return
IS usefull
if(getcoolplayer(#a,ap)) {
setplayerprop #c,I AM COOL!;
} else {
setplayerprop #c,I AM A LOSER
}
function getcoolplayer(account,alignment) {
if(strequals(#p(account),Falcor) && strtofloat(#p(alignment)) > 90) {
return true;
} else {
return false;
}
}
It would take up extra code if you had to prefor variable operations. Why make your code longer? Why not make it simple?
I sugested Function Arguments twice before.. Stefan never saw them i dont think.