Best way to be notified when the player fired a weapon? (UCC3)

zented

Member
Hello, I'm using 'OnItemStartUse' to know when the player fired his weapon but the event is sent even if the gun is empty.
What's the simplest way to do it?
 
How about using a GenericItemEffect that triggers a Unity event?
GenericItemEffects are modules that can be set in all module groups so they can be called at any point of your item use life cycle.
If the UnityEvent isn't scallable enough you can create you own custom ItemEffect and reuse that all over your items

1677255781957.png
 
Thanks Sangemdoko, it looks like what i was looking for.
So the execution order of the modules is set by the list? If I put 'Invoke Unity Event' on top, it's executed first?
 
Top