Jump to content
Sign in to follow this  
gunnyrolling

Trigger for player bringing a sidearm to an area?

Recommended Posts

I'm having a bit of trouble getting this to work the way I'd like. I need a trigger to go off when ANY player on Blufor brings a certain sidearm to the trigger area. I've been using the trigger BLUFOR/present and in conditions 

this && player hasweapon "rhs_weap_tr8"

The problem is that if ANY Blufor player enters the trigger area even without the weapon, it goes off. How can I get it to activate only when a BLUFOR player with the given sidearm enters the area? 

Share this post


Link to post
Share on other sites

Try condition :

 

{_x hasWeapon "rhs_weap_tr8"} count  thislist > 0

Share this post


Link to post
Share on other sites

Try condition :

 

{_x hasWeapon "rhs_weap_tr8"} count  thislist > 0

Thanks, it worked perfectly!

Share this post


Link to post
Share on other sites

im trying to do the same only with any weapon can you help me? :p

Share this post


Link to post
Share on other sites

im trying to do the same only with any weapon can you help me? :P

 

try this:

{count (weapons _x) > 0} count  thislist > 0

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  

×