I am able to see the ability by checking the code below, just not sure where I can put it in code without breaking things to cancel the jump. I tried to put it in jump.cs in the ability started method, which did prevent the jumping but caused other weird issues.
//in my case the Aim Ability is the 7th item in the list.
var checkAiming = m_CharacterLocomotion.ItemAbilities[7];
if (checkAiming.IsActive)
{
return;
}
else{
//do jump code
}
any help appreciated! Thank you
//in my case the Aim Ability is the 7th item in the list.
var checkAiming = m_CharacterLocomotion.ItemAbilities[7];
if (checkAiming.IsActive)
{
return;
}
else{
//do jump code
}
any help appreciated! Thank you