• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[SOLVED] Random loot in crates/boxes

Andréew

Humble mapper.
Joined
Apr 14, 2015
Messages
833
Solutions
2
Reaction score
1,930
Location
Sweden
Hi guys!
The basic idea is that when you open a box or crate ( Id's : 1738,1739,1741 ) there might or might not be an item or several items.

I was thinking that maybe it can be done with a action script, onUse.
with a 30% chance that you get nothing at all, and like 20% that you get 5-50 gold and so on other items,
it must also be a timer so that you just cant loot it over and over and over again, lets say 2 hours.

would be nice if the script was easy to change loot items and chance of getting it and so on, tables or what its called :p
 
it's for a chest, you open it and it inserts items into the chest
are you needing a script that removes the item and gives you random items?
if so, create your own support thread because that's a different script unrelated to this thread
Yes thats what i need thank you anyway
 
Back
Top