Jump to content
Sign in to follow this  
Axo

Eventhandler on weapons?

Recommended Posts

I´m trying to add an eventhandler "fired" to a weapon in the cpp. Just doing so doesn´t work.

I know how to add it to the vehicle class of the soldier, but that doesn´t work if the weapon is picked-up from the field...

Can be done? workarounds?

Share this post


Link to post
Share on other sites

You could check the soldier that holds the weapon for firing, but thenn the weapon is only usable by a specific soldier type.

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  

×