Does anyone know how to make an openable crate that give a random weapon for battle royale games?
I think you can use block code to make loot tables like in fishing.
Put a button behind the crate. Name it “Open Crate”. Then, put an item granter and put the weapon it wants to grant. Then, wire the button to the item granter “When button pressed, grant item”
EDIT: Connect the button to the crate also. When button pressed, hide prop. Then, wire the crate to the button, and put “when crate made non-visible, deactivate button”
On prop destroyed--------Trigger. Code the trigger to give a random weapon (see the fishtopia loot table thing for more details)
Random Weapon*
If I make it a certain OP weapon, everyone is gonna go for that crate
Ohhh, i didn’t notice the “Random” word in there
For randomizing it, you can use this link for loot tables. Just change the fish to weapons.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.