Impact Weapon Interface is an interface to easily communicate with the Impact Ranged Weapon class and the future Impact Bladed Weapon class. You can implement it if you want in your own classes. It contains the following functions:
- Activate Weapon : Called when player activate weapon. Can be useful if you need to initialize a weapon, launch an animation or an activation sound for example.
- Deactivate Weapon : Called when player deactivate weapon.
- Set Collision Enabled : Whether or not collision should be enabled. Typically, the collision is enabled when weapon is not attached to pawn.
- Start Use Weapon : Indicate that weapon should be used (like when you press left mouse button).
- End Use Weapon : Indicate that weapon should stop (like when you release the left mouse button).
- Change Shooting Mode : Change the shooting mode of weapon. Select next shooting mode if available.