Jump to content
Sign in to follow this  
Clavicula_nox4817

How to "lock" an ammo box?

Recommended Posts

Hey guys, I have a situation where I need to restrict certain ammo boxes to be used by certain players. I have created sets of crates intended for specific teams and I would like to make it so only the members of those teams can use their own crates.

Is there a way I can restrict the boxes so they can only be used by specific GroupNames?

Share this post


Link to post
Share on other sites

I think it's only possible if you create them locally (so that they only exist for the said player and nobody else). Or place them in an enclosed space that can only be reached by scripted teleporting.

Share this post


Link to post
Share on other sites

As a possible (but weird) workaround, you can have triggers or scripts that teleports people of the wrong group when they get too close to the wrong box. That way they can never approach it.

Another approach, although not preventing anything, is to separate the groups starting point spatially. They can still access the crate, but it's probably take too much effort to do so to worry about it.

Share this post


Link to post
Share on other sites

Try clearMagazineCargo and clearWeaponCargo.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×