Jump to content
Sign in to follow this  
Retyan

Check Gask mask

Recommended Posts

Hello everyone,
I struggle with somewhat a rather simple issue : I want a trigger to activate when a gas mask is equiped.

I've tried different thing as condition :

 

Quote

goggles player == "PMK_1_Gas_mask_B1_F" ;
headgear player == "PMK_1_Gas_mask_B1_F" ;

 

If someone as the time to explain to me what went wrong I'll gratefull.

Thanks

Share this post


Link to post
Share on other sites
32 minutes ago, Retyan said:

Hello everyone,
I struggle with somewhat a rather simple issue : I want a trigger to activate when a gas mask is equiped.

I've tried different thing as condition :

 

 

If someone as the time to explain to me what went wrong I'll gratefull.

Thanks

1. Check the spelling of the gasmask name.

2. Place yourself in the editor, put on the gasmask and check goggles player and headgear player using the debug console to confirm that they indeed are the right commands and that the output is what you expect.

2. Check your activation code so the problem isn't there, like put in systemChat "test"

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, mrcurry said:

2. Place yourself in the editor, put on the gasmask and check goggles player and headgear player using the debug console to confirm that they indeed are the right commands and that the output is what you expect.

 

Didn't know this trick, but it worked well, I was lost with all the possibily of errors, Thank you mrcurry.

  • Like 1

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  

×