So I would like my hero to gain abilities when he reaches a certain level. I have set the ability cost and effect for each level, but I can't quite figure out how to control the level aspect:
I have the validators ready, but I'm not exactly sure where to use them...
Well I understand that you just have to put the different effects for the different levels in the correct order in the effect field of the ability. So for ability level 1 the effect with the index 0 would be used, etc.
I still wonder if there's a way to set a validator for each level.
Example of pseudocode:
Validator1: "Hero is Level 3" -> Hero is anabled to use Level 1 of Skill Megaboom,
Validator2: "Hero is Level 5" -> Hero is enabled to use Level 2 of Skill Megaboom
..and so on..
somewhere thier is a guide for this, but to sum up on exactly what you need to do.
Firstly go to the validators, and create a bunch of them .. these validators are experience level checking ones. So lets say you want to find out if your hero is level 6? so that it can learn its ultimate, your validator would be something like this
Level of hero < 7 .
When you create some validators you now need to create some behaviour buffs. So inside the buff field there is a section for "Validator Remove and disable".. this is where you want to put your validators at (in the remove field).
So for e.g , you create a buff called, "'hero level 6", and you specifiy the proper validator in it.
Okay so when you have your buffs activating correctly all the time with validators . Its time for Requirements. You need to use requirements to spot which buffs your hero is carrying. Where do you specify this requirement you might ask? INSIDE the hero learn ability.
For the requirement, you going to have to specifiy each level of the ability, And exactly which buff Allows each level .
Note : pre-place every single buff you made for the level checking on the hero, the right ones will activate at the proper levels, while the rest will deactivate if you did it correctly.
So to sum up, you need level checking validators to disable certain buffs so that requirements know exactly which buff allow the ability to be learned.
So I would like my hero to gain abilities when he reaches a certain level. I have set the ability cost and effect for each level, but I can't quite figure out how to control the level aspect:
I have the validators ready, but I'm not exactly sure where to use them...
Any help appreciated!
@Obatztrara: Go
Bump.... Does the abiltiy have the settings on it for each level of it? and how do you control which effects it uses depending on the level of it...
I was thinking that I would need to track the level of the abiltiy on the unit with behaviors...
Is there a better way?
Well I understand that you just have to put the different effects for the different levels in the correct order in the effect field of the ability. So for ability level 1 the effect with the index 0 would be used, etc.
I still wonder if there's a way to set a validator for each level.
Example of pseudocode:
Validator1: "Hero is Level 3" -> Hero is anabled to use Level 1 of Skill Megaboom,
Validator2: "Hero is Level 5" -> Hero is enabled to use Level 2 of Skill Megaboom ..and so on..
bump
somewhere thier is a guide for this, but to sum up on exactly what you need to do.
Firstly go to the validators, and create a bunch of them .. these validators are experience level checking ones. So lets say you want to find out if your hero is level 6? so that it can learn its ultimate, your validator would be something like this
Level of hero < 7 .
When you create some validators you now need to create some behaviour buffs. So inside the buff field there is a section for "Validator Remove and disable".. this is where you want to put your validators at (in the remove field).
So for e.g , you create a buff called, "'hero level 6", and you specifiy the proper validator in it.
Okay so when you have your buffs activating correctly all the time with validators . Its time for Requirements. You need to use requirements to spot which buffs your hero is carrying. Where do you specify this requirement you might ask? INSIDE the hero learn ability.
For the requirement, you going to have to specifiy each level of the ability, And exactly which buff Allows each level .
Note : pre-place every single buff you made for the level checking on the hero, the right ones will activate at the proper levels, while the rest will deactivate if you did it correctly.
So to sum up, you need level checking validators to disable certain buffs so that requirements know exactly which buff allow the ability to be learned.