This will make the box weapon take-able for all players, not just the person that hit the box.
All changes will be in your _zombiemode_weapons.gsc, treasure_chest_think() function.
I have provided two options, the few steps necessary for this, or at the bottom of the page you can select and replace the entire function.
Step-by-step Locate the treasure_chest_think() function. Replace the following: with Replace the following: with Replace the following: with Then add the following function after the treasure_chest_think() function function or, if it is easier for you, just replace your whole treasure_chest_think() function with this:
Last Edit: June 21, 2014, 03:07:44 am by MakeCents
NICE! Been waiting for this tutorial forever. One question, does this make it so the players can automatically take other players weapons or does it wait about 5-6 seconds before giving other players the option. If its the first way then can you show me how to make it so the player who spins the box can take it before it will let other players take it. That way no one can steal other peoples box weapons.
NICE! Been waiting for this tutorial forever. One question, does this make it so the players can automatically take other players weapons or does it wait about 5-6 seconds before giving other players the option. If its the first way then can you show me how to make it so the player who spins the box can take it before it will let other players take it. That way no one can steal other peoples box weapons.
You could change: to and add this after the treasure_chest_think() function
Edit: I updated the tut to include this. Good idea.
Last Edit: June 21, 2014, 03:19:13 am by MakeCents