i know if i do i callfunc + normal var i have to use getarg but.. if is array var how can i do it?
cuz when i do like this:
case 1:
mes "Silver Arrow";
setarray .@idd,.@id[0];
setarray .@delitem[0],1011,912,2557,2333;
mes "Zargon 10 silver arrow";
mes "Emveretarcon 100 silver arrow";
mes "Unicorn Horn 1000 silver arrow";
mes "Silver Robe 10000 silver arrow";
set .@menu,select(.@menu2$);
set .@opt,.@menu-1;
set .@delitemm,.@delitem[.@opt];
callfunc "arrowmaker1",.@idd,.@delitemm,.@opt;
end;
+
function script arrowmaker1 {
//getarg(0) = .@idd || getarg(1) = .@delitem || getarg(3) = .@opt
set .@opt,getarg(2);
set .@idd[0],getarg(0);
set .@delitemm[0],getarg(1);
Question
Dynasty
Hello again -w-
i have a doubt about callfunc + array var...
i know if i do i callfunc + normal var i have to use getarg but.. if is array var how can i do it?
cuz when i do like this:
+
the array part only show me the first value :S
bumm
Edited by DynastyLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.