Easiest way to force equip/unequip while using/reloading

Idodi

New member
Hi,

What's the easiest way to force equip/unequip while player is using or reloading weapon?

Thanks
 
You can use UltimateCharacterLocomotion.TryStartAbility to start the ability, but EquipUnequip will stop the Use or Reload abilities within EquipUnequip.ShouldBlockAbilityStart.
 
Perhaps I wasn't clear or I didn't understand your answer, but I want EquipUnequip to happen even if the player is currently reloading or using the weapon
 
In that case you'll need to modify EquipUnequip.ShouldBlockAbilityStart.
 
But that function controls which abilities are blocked from starting while EquipUnequio is active, no?

it’s not even called when trying to equip
 
Top