I have an Ability: Effect - Target, and it relies on a Throw-based Mover. The spell looks awkward when its target is within a certain distance of the caster. I'd like to apply a minimum range requirement for this ability.
What's the best way to do this? Some sort of Validator seems like an appropriate choice, but I'm not familiar with Validators. Any advice?
It can be solved by adding a minimum range validator, follow the steps below :)
1) Open the Validator tab. It can be found under "Games - Validator" in the data editor.
2) Create a new Validator of type "Location Range" based on "CValidatorLocationCompareRange"
3) Edit the field "Validator - Compare" to "Greater than or equal to" and the field "Validator - Range" to the minimum range amount. I used "1" for a similar ability.
4) Enter the ability tab. It can be found under "Game - Abilities" in the data editor.
5) Select your ability and edit the field "Ability - Smart Validator" click "add" and select the validator you just created.
6) Enter the effect tab. It can be found under "Game - Effects" in the data editor.
7) Select the linked effect for your ability and edit the field "Effect - Validators" click "add" and select your validator.
8.) Save the game and test your ability.
If it's done correctly your ability will have a minimum range requierment. Good luck! :)
I have an Ability: Effect - Target, and it relies on a Throw-based Mover. The spell looks awkward when its target is within a certain distance of the caster. I'd like to apply a minimum range requirement for this ability.
What's the best way to do this? Some sort of Validator seems like an appropriate choice, but I'm not familiar with Validators. Any advice?
It can be solved by adding a minimum range validator, follow the steps below :)
1) Open the Validator tab. It can be found under "Games - Validator" in the data editor.
2) Create a new Validator of type "Location Range" based on "CValidatorLocationCompareRange"
3) Edit the field "Validator - Compare" to "Greater than or equal to" and the field "Validator - Range" to the minimum range amount. I used "1" for a similar ability.
4) Enter the ability tab. It can be found under "Game - Abilities" in the data editor.
5) Select your ability and edit the field "Ability - Smart Validator" click "add" and select the validator you just created.
6) Enter the effect tab. It can be found under "Game - Effects" in the data editor.
7) Select the linked effect for your ability and edit the field "Effect - Validators" click "add" and select your validator.
8.) Save the game and test your ability.
If it's done correctly your ability will have a minimum range requierment. Good luck! :)
Hi there, i used the minimum range validator above.
It works, but i got a problem:
When i use the spell in minimum range i lose a charge on my spell and the cooldown is triggert. Is there a way to figure that?
Please help me :)