Flamehead Member Feb 10, 2022 #1 When writing our own custom ability scripts, what functions are needed inside our if statement to get the ability to have the green light? For example... If (condition) { CantStartAbility(); } Is that all we need for the ability to be able activate?
When writing our own custom ability scripts, what functions are needed inside our if statement to get the ability to have the green light? For example... If (condition) { CantStartAbility(); } Is that all we need for the ability to be able activate?
K Klin Member Feb 10, 2022 #2 You can override the methods in Ability.cs (the script you are inheriting from when creating an ability) e.g. CanStartAbility(). Take a look at some of the build-in abilities, quite straight forward once you see how it works.
You can override the methods in Ability.cs (the script you are inheriting from when creating an ability) e.g. CanStartAbility(). Take a look at some of the build-in abilities, quite straight forward once you see how it works.
ChristianWiele Active member Feb 11, 2022 #3 You don't need a check, if there are no conditions that should prevent starting the ability. Check the video on how to create a new ability: New Ability - Opsive The ability system is designed to make it as easy as possible to add new functionality to the controller. New abilities will likely be created . . . opsive.com
You don't need a check, if there are no conditions that should prevent starting the ability. Check the video on how to create a new ability: New Ability - Opsive The ability system is designed to make it as easy as possible to add new functionality to the controller. New abilities will likely be created . . . opsive.com