DarkWhoteva Posted October 16, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 56 Reputation: 4 Joined: 01/09/12 Last Seen: May 23, 2024 Share 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 Link to comment Share on other sites More sharing options...
goddameit Posted October 16, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share 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 Link to comment Share on other sites More sharing options...
Spre Posted October 18, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share 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 Link to comment Share on other sites More sharing options...
goddameit Posted October 18, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share 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 Link to comment Share on other sites More sharing options...
Spre Posted October 18, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share 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 Link to comment Share on other sites More sharing options...
Euphy Posted October 18, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
GmOcean Posted October 19, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share 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 Link to comment Share on other sites More sharing options...
Joseph Posted October 19, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share 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 Link to comment Share on other sites More sharing options...
Spre Posted October 19, 2012 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 103 Reputation: 28 Joined: 09/20/12 Last Seen: January 14, 2019 Share 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 Link to comment Share on other sites More sharing options...
llchrisll Posted October 19, 2012 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 626 Reputation: 189 Joined: 11/19/11 Last Seen: March 25 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.