Increase Item0SubStateIndex when Aiming

Grannyboy

Active member
Greetings,

Im trying to make it so that my character does other animations for attacks while aiming in melee and i know in version 2 of the controller this was on by default. You aimed and your Item0SubStateIndex got increased by 100 or what ever you chose to.

This seems to be under the ability "Equip Unequip" instead of ability "Aim" in v3, is that really correct?
image.png

image.png


I cant get it to work properly with the current set up. How is this function set up to work in V3?
 

Attachments

  • 1672606979106.png
    1672606979106.png
    48.1 KB · Views: 0
That is correct, and is the same as what was in version 2. For this scenario you can check the aim parameter within your animator controller. Really that variable can also be removed from EquipUnequip since you can check against the animator controller parameter.
 
As always an explanation on how I achieved the possibility of doing other attack animations while aiming but with same weapon, for future reference:
First I disable this since its not needed for my purpose
1672688177389.png

Then I simply added "Aiming" to true in the animator controller for the animation I want while aiming
1672688235348.png


And also "Aiming" to false on the regular animations while not aiming.

Thanks for the support!
 
Top