minx123 2 Posted November 13, 2015 hello.. i need some help, how to make random box with announce get special item? i want make box if player get the special item. it will announce to all map. Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted November 13, 2015 @@minx123 Checkout /db/re/item_packages.conf, that should be what you are searching for. 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 Anisotropic Defixation 18 Posted November 14, 2015 (edited) Create a function script and make the item usage call it with callfunc. function script Random_Box_Script { .@[member=Rand] = rand(1,3); switch(.@[member=Rand]) { case 1: getitem 1001,1; end; case 2: getitem 1002,1; end; case 3: getitem 1003,1; // The special item announce strcharinfo(0)+ " was lucky and obtained the special prize!",bc_map,0x00FF00; // Map announcement end; }} { Id: 1000 AegisName: "Random_Box" Name: "Random Box" Type: 18 Buy: 0 Weight: 0 Script: <" callfunc "Random_Box_Script"; ">}, Edited November 14, 2015 by Anisotropic Defixation 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 minx123 2 Posted November 14, 2015 thank you. @@Anisotropic Defixation @@Winterfox Quote Share this post Link to post Share on other sites
hello.. i need some help, how to make random box with announce get special item?
i want make box if player get the special item. it will announce to all map.
Share this post
Link to post
Share on other sites