AinsLord Posted January 24, 2023 Group: Members Topic Count: 257 Topics Per Day: 0.08 Content Count: 737 Reputation: 18 Joined: 11/21/15 Last Seen: March 19 Share Posted January 24, 2023 (edited) is there a item box that will provide a random option upon opening like example you open "god sword box" it will give you the sword with random options. and "Costume Lower Box" it will give you random costume item with a random options. if there is like a free script care to share thanks in advance Edited January 24, 2023 by AinsLord specific info Quote Link to comment Share on other sites More sharing options...
0 GM Winter Posted January 24, 2023 Group: Members Topic Count: 176 Topics Per Day: 0.15 Content Count: 666 Reputation: 9 Joined: 12/04/20 Last Seen: Saturday at 11:35 PM Share Posted January 24, 2023 6 hours ago, AinsLord said: is there a item box that will provide a random option upon opening like example you open "god sword box" it will give you the sword with random options. and "Costume Lower Box" it will give you random costume item with a random options. if there is like a free script care to share thanks in advance did you mean if you open a box it will give you a random item? Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted January 24, 2023 Group: Members Topic Count: 257 Topics Per Day: 0.08 Content Count: 737 Reputation: 18 Joined: 11/21/15 Last Seen: March 19 Author Share Posted January 24, 2023 Just now, GM Winter said: did you mean if you open a box it will give you a random item? thats one and the other one the item obtained have a random option like this on Quote Link to comment Share on other sites More sharing options...
0 GM Winter Posted January 24, 2023 Group: Members Topic Count: 176 Topics Per Day: 0.15 Content Count: 666 Reputation: 9 Joined: 12/04/20 Last Seen: Saturday at 11:35 PM Share Posted January 24, 2023 put this script to your item db this will give you a random item getitem callfunc("F_Rand",512,513,500),1; then regarding the photo you send i think you need to make a custom item in item db and make a decs in your item lua then use the id in the box above so they will get your random custom item Quote Link to comment Share on other sites More sharing options...
0 AinsLord Posted January 24, 2023 Group: Members Topic Count: 257 Topics Per Day: 0.08 Content Count: 737 Reputation: 18 Joined: 11/21/15 Last Seen: March 19 Author Share Posted January 24, 2023 3 minutes ago, GM Winter said: put this script to your item db this will give you a random item getitem callfunc("F_Rand",512,513,500),1; then regarding the photo you send i think you need to make a custom item in item db and make a decs in your item lua then use the id in the box above so they will get your random custom item ive made the box ill just make it random items so here is the script i made to get specific item with a specific item option //Test functions function script F_CASH_SHOP_RANDOM { setarray .@OptID[0],RDMOPT_WEAPON_ATTR_TELEKINESIS, RDMOPT_VAR_MAXHPAMOUNT; setarray .@OptVal[0],10,10; setarray .@OptParam[0],0,0; getitem3 5518,1,1,0,0,0,0,0,0,.@OptID,.@OptVal,.@OptParam; end; } im still trying to figure out how can i make it like random option once i open the box random @optID random OptVal dont know yet what is optparam for Quote Link to comment Share on other sites More sharing options...
Question
AinsLord
is there a item box that will provide a random option upon opening
like example
you open "god sword box" it will give you the sword with random options.
and "Costume Lower Box" it will give you random costume item with a random options.
if there is like a free script care to share
thanks in advance
Edited by AinsLordspecific info
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.