Cheo
Active member
Hello, in the integration demo scene if you have a rifle equipped in your primary slot, a grenade in your tactical one, and no default Body weapon, if you throw all your grenades the player will automatically switch back to his rifle. However if you remove the grenade related Item Abilities and Item Set elements, the player will then not be able to automatically equip his rifle. Here's a video showing the issue with more details as usual :
The fact that EquipUnequip already accounts for the possibility of an item being removed and the need to switch to another one using forceEquipUnequip and immediateEquipUnequip, and that it didn't work when making the grenade setup on the character lighter makes me think that there is something wrong somewhere in the ability code that prevents it from handling the self removal of an item when it runs out of ammo.
We are currently near a deadline and while we should be able to figure out a workaround, we would really appreciate this being taken a look at. As always if more details are required let me know, thanks.
The fact that EquipUnequip already accounts for the possibility of an item being removed and the need to switch to another one using forceEquipUnequip and immediateEquipUnequip, and that it didn't work when making the grenade setup on the character lighter makes me think that there is something wrong somewhere in the ability code that prevents it from handling the self removal of an item when it runs out of ammo.
We are currently near a deadline and while we should be able to figure out a workaround, we would really appreciate this being taken a look at. As always if more details are required let me know, thanks.
