Jump to content
Sign in to follow this  
erore

shot detection

Recommended Posts

I need to find out if in a certain area a shot has been fired. How can I do that?

Share this post


Link to post
Share on other sites

Add fired event handlers to everyone, then when a shot occurs, in the function check the area and check where the bullet goes...

Share this post


Link to post
Share on other sites

I'm relatively inexperienced, but I wonder if it would be better to have a trigger defining the area, with activation set to "Everyone" "Present", "Repeated", and onActivation "_this addEventHandler ["fired", {your code}]", and onDeactivation "_this removeEventHandler ["fired"]"?

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  

×