StateOfArtGameStudio
New member
Hello Opsive!
I created a custom ability to suit my system. I decided to stop it manually. I have aniation event that invokes in method this:
characterLocomotion.TryStartAbility(targetAbility);
Basically it works fine, but when I first time I use ability I soon receive a warning repeated a couple of times:
characterLocomotion.TryStartAbility(targetSpellAbility);
SlotID cannot be set to -1.
UnityEngine.Debug:LogWarning (object)
Opsive.UltimateCharacterController.Character.Abilities.Items.ItemAbility:set_SlotID (int) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Items/ItemAbility.cs:30)
Do I stop ability in correct manner? Why I get this warning? The character doesn't have any items, nor uses any <ItemAbilities> at the moment.
I created a custom ability to suit my system. I decided to stop it manually. I have aniation event that invokes in method this:
characterLocomotion.TryStartAbility(targetAbility);
Basically it works fine, but when I first time I use ability I soon receive a warning repeated a couple of times:
characterLocomotion.TryStartAbility(targetSpellAbility);
SlotID cannot be set to -1.
UnityEngine.Debug:LogWarning (object)
Opsive.UltimateCharacterController.Character.Abilities.Items.ItemAbility:set_SlotID (int) (at Assets/Opsive/UltimateCharacterController/Scripts/Character/Abilities/Items/ItemAbility.cs:30)
Do I stop ability in correct manner? Why I get this warning? The character doesn't have any items, nor uses any <ItemAbilities> at the moment.