I'm trying to see how to utilize attack indexes for attacks and abilities, but I'm a little lost. I see the attack index on the Control Maps; but not sure what else to do.
For example, let's say I had a "FlameSword1" ability that is used when attacking with a Fire Sword, when I tap 'X'.
If I wanted to have it so if the player tapped 'X', and then tapped 'X' again within a set time, he would use "FlameSword1" followed by "FlameSword2," where would I go about setting it up?
You need to add the 2nd attack to the weapon (there's the Add Attack button for that). To have the 2nd attack available for a limited time, you need to set the ability's Available Time to something above 0.
Finally, you need to set up the 'X' key in the control map for each attack (index) once. I think it's best to have the higher index attacks before the lower index attacks, e.g.: - key 'X' with attack index 1 - key 'X' with attack index 0
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
To have the 2nd attack available for a limited time, you need to set the ability's Available Time to something above 0.
Finally, you need to set up the 'X' key in the control map for each attack (index) once. I think it's best to have the higher index attacks before the lower index attacks, e.g.:
- key 'X' with attack index 1
- key 'X' with attack index 0
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
---------------------------------------
Personal Twitter: https://twitter.com/AMO_Crate
I make RFI! https://twitter.com/NootboxGames