A matching event would also be nice.
EVENT_WEAPON_STATE_CHANGED(WeaponStateChangeReason reason)
WeaponStateChangeReason would then be one of these:
WEAPON_STATE_CHANGE_REASON_WEAPON_CHANGE - when they get drawn after equipping a different weapon
WEAPON_STATE_CHANGE_REASON_WEAPON_SWAP - when they get drawn by using weapon swap
WEAPON_STATE_CHANGE_REASON_PLAYER_DRAWN - when they are simply drawn by the player
WEAPON_STATE_CHANGE_REASON_PLAYER_SHEATHED - when they are simply sheathed by the player
WEAPON_STATE_CHANGE_REASON_OTHER_PLAYER_ABILITY - when they get drawn in response to another players ability cast
|