Frocha
Member
Now im trying to create a basic script for the A.I to just use an item in BD.
Thats the error I get, im just trying to get him to fire the item he has equipped. He has no targets or anything. Just fire the weapon.
Assets\My Scripts\Attack.cs(20,41): error CS0311: The type 'Opsive.UltimateCharacterController.Items.Actions.Use' cannot be used as type parameter 'T' in the generic type or method 'UltimateCharacterLocomotion.GetAbility<T>()'. There is no implicit reference conversion from 'Opsive.UltimateCharacterController.Items.Actions.Use' to 'Opsive.UltimateCharacterController.Character.Abilities.Ability'.
Thats the error I get, im just trying to get him to fire the item he has equipped. He has no targets or anything. Just fire the weapon.