Erba Posted April 3, 2013 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Share Posted April 3, 2013 how to make a new item group? i want to make a new box wherein if a player open a box all it contains 1 custom items the item group contains all custom items of the server Quote Link to comment Share on other sites More sharing options...
Cydh Posted April 3, 2013 Group: Developer Topic Count: 153 Topics Per Day: 0.03 Content Count: 2285 Reputation: 748 Joined: 06/16/12 Last Seen: February 21 Share Posted April 3, 2013 or, on your custom item, inside { Script }, give callfunc that call your function to give random item to player. itemid,,,,,,,,,,,,,,,,,,,{ callfunc CustomRand; } function%tab%script%tab%CustomRand%tab%{ switch(rand(2)){ case 0: getitem 501; break; case 1: getitem 502; break; } } 1 Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted April 3, 2013 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted April 3, 2013 You mean like the character double clicks the box and it generates fixed set of custom items? For this you wont need a seperate item group. For example check the script for Alchemist Card Box item #13927 Yes they are cards but you get the general idea. But If you mean like an OBB which generates random items from a list then check this => http://rathena.org/wiki/Groupranditem Quote Link to comment Share on other sites More sharing options...
Erba Posted April 3, 2013 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Author Share Posted April 3, 2013 okay sir! thanks ill try this later! ^^ Quote Link to comment Share on other sites More sharing options...
Erba Posted April 4, 2013 Group: Members Topic Count: 84 Topics Per Day: 0.02 Content Count: 550 Reputation: 9 Joined: 11/06/12 Last Seen: August 14, 2014 Author Share Posted April 4, 2013 thanks for the help sir^^ Quote Link to comment Share on other sites More sharing options...
Question
Erba
how to make a new item group?
i want to make a new box wherein if a player open a box all it contains 1 custom items
the item group contains all custom items of the server
Link to comment
Share on other sites
4 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.