Byakuran Posted February 25, 2012 Group: Members Topic Count: 110 Topics Per Day: 0.02 Content Count: 229 Reputation: 5 Joined: 12/16/11 Last Seen: May 6, 2020 Share Posted February 25, 2012 i have a dragon ball sprites and i need your help guys for the effect.. i want to have like this when they got all the 7dragonball from 1-7 in there inventory they will have the one custom items automatic and the 7dragonball gone.. Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 25, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 25, 2012 You need to add a callfunc on one of the dragon ball.. Then on the function script it has a check that checks if you have all the existing item countitem then delitem if all items are present.. Quote Link to comment Share on other sites More sharing options...
Pancake Posted February 25, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 49 Reputation: 17 Joined: 02/06/12 Last Seen: May 28, 2012 Share Posted February 25, 2012 I really like this idea, if anyone could go further into detail on how it might be accomplished that would be amazing. Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 25, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 25, 2012 function should look something like this function script 17carat { if(countitem(730) < 1 || countitem(731) < 1 || countitem(732) < 1) end; delitem 730,1; delitem 731,1; delitem 732,1; getitem 6024,1; dispbottom "Created 17 Carat Diamond"; close; } Quote Link to comment Share on other sites More sharing options...
darking123 Posted February 25, 2012 Group: Members Topic Count: 318 Topics Per Day: 0.07 Content Count: 931 Reputation: 13 Joined: 12/20/11 Last Seen: November 21, 2020 Share Posted February 25, 2012 nice idea thread starter Quote Link to comment Share on other sites More sharing options...
ngek202 Posted February 25, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share Posted February 25, 2012 (edited) ok here it is i tried it, like i said you need a base item which is usable item idk how to make it work with misc items. the base item i used was 12404 Acti Potion 12404,Acti_Potion,Acti Potion,11,,,,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "17carat"; },{},{} place this on your custom folder script. function script 17carat { if(countitem(730) < 1 || countitem(731) < 1 || countitem(732) < 1) goto N_Enough; delitem 730,1; //required 1 delitem 731,1; //required 2 delitem 732,1; //required 3 delitem 12404,1; // base item deleted getitem 6024,1; dispbottom "Created 17 Carat Diamond"; close; N_Enough: message strcharinfo(0), "Required Item is incomplete."; close; end; } and also add it on your scripts_custom.conf npc: npc/custom/17carat.txt Just modify it to dragon ball something. Idea i got from Angst Tier Stone Refining Edited February 25, 2012 by ngek202 Quote Link to comment Share on other sites More sharing options...
Byakuran Posted February 25, 2012 Group: Members Topic Count: 110 Topics Per Day: 0.02 Content Count: 229 Reputation: 5 Joined: 12/16/11 Last Seen: May 6, 2020 Author Share Posted February 25, 2012 THANKS FOR THOSE WHO REPLY ) Quote Link to comment Share on other sites More sharing options...
Question
Byakuran
i have a dragon ball sprites and i need your help guys for the effect.. i want to have like this when they got all the 7dragonball from 1-7 in there inventory they will have the one custom items automatic and the 7dragonball gone..
Link to comment
Share on other sites
6 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.