DarkWhoteva Posted October 16, 2012 Posted October 16, 2012 Id like a script that when you change classes, you get a certain item, say you change from novice to archer, it gives you a bow + 1000 arrows. if there anything like that? thanks, Josh Quote
goddameit Posted October 16, 2012 Posted October 16, 2012 item_db.txt: blablabla(new Usable item),{ callfunc "Class_item_giver"; },{},{} script: function script Class_item_giver { jobchange 3; getitem 1701,1; getitem 1750,1000; end; } Quote
Spre Posted October 18, 2012 Posted October 18, 2012 Why create a new item? If you use a jon changer just add getitem itemid,amount for what ever items you want the class to get on jobchange Quote
goddameit Posted October 18, 2012 Posted October 18, 2012 (edited) Why create a new item? If you use a jon changer just add getitem itemid,amount for what ever items you want the class to get on jobchange cause I mistaken it as "use item to change class" Edited October 18, 2012 by goddameit Quote
Spre Posted October 18, 2012 Posted October 18, 2012 he can;t use the jobchanger scripted by euphy inside custom/ because uhhh yea, EUPHY put the old one back, new people to scripting (especially to scripting) will look at that jobchanger and basicaly say uf this, see now I have to write a script for this fella. or do i *gets the old jobchanger* it worked fine just needed to jobs defined in it. TO DARK: you need the following in this request. What items, How many, do you want it abusable where they can get said item as many times as they want? account related, character related, etc etc etc Quote
Euphy Posted October 18, 2012 Posted October 18, 2012 o.o Spre, it's a lot easier with my script: http://rathena.org/board/topic/64394-%E2%9C%B0-euphys-scripts-%E2%9C%B0/page__st__320#entry141019 Quote
GmOcean Posted October 19, 2012 Posted October 19, 2012 I think if Euphy, used an array to store his information and called it that way, it'd be easier and more user friendly. Then we could actually add it as an official script. And also add a check to see if, giving items is enabled. Like: if(.getitem){getitem .item[.@i],.amount[.@i];} But you'd need to add the information at the top of the script, or atleast before this appears. Quote
Joseph Posted October 19, 2012 Posted October 19, 2012 I think if Euphy, used an array to store his information and called it that way, it'd be easier and more user friendly. Then we could actually add it as an official script. And also add a check to see if, giving items is enabled. Like: if(.getitem){getitem .item[.@i],.amount[.@i];} But you'd need to add the information at the top of the script, or atleast before this appears. Agree with this. Quote
Spre Posted October 19, 2012 Posted October 19, 2012 Yes, But normal rathena Users, and those coming from eathena do not know how to use arrays, they have rarely been used in the past. Are they documented in scriptcommands?(I haven't looked) Quote
llchrisll Posted October 19, 2012 Posted October 19, 2012 Yes, But normal rathena Users, and those coming from eathena do not know how to use arrays, they have rarely been used in the past. Are they documented in scriptcommands?(I haven't looked) As far as I know they are... *setarray, etc Quote
Question
DarkWhoteva
Id like a script that when you change classes, you get a certain item, say you change from novice to archer, it gives you a bow + 1000 arrows. if there anything like that?
thanks,
Josh
9 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.