I'm trying to give my hero passive abilities (Like move speed, health buff, etc) through a skill tree dialog (Not through hero learn). I am able to add passives through hero learn but for some reason adding abilities through triggers and dialogs doesn't work the same way. I was wondering if someone could show me set by step how to either..
add passive abilities through triggers (or should I just add the behaviors and link them to a dummy ability?)
or a map that I can download as an example.
I've watched and read through pretty much EVERY tutorial out there and none of them pertain to skill trees.
I've already made a skill tree with active abilities as skills, I am just stumped on passive abilities. I don't need the entire skill tree tutorial (although that would be nice for other people). Thanks for the quick reply.
The way I did active abilities is when you push the dialog item that relates the to ability it checks what dialog button you pressed and if you don't have the ability it gives it to you and if you have it, it levels it up by 1 for you. This works great. When I do this for passive abilities it does not apply the behavior that is linked with the ability.
You make dialog item buttons, you need to have an array on the buttons for each button, and a behaviour variable with array. let the behaviours be null on the arrays which are abilities and the passive behaviour be on the variable matching the arrays. When you teach it you add the behaviour. All i could think of.
Thanks! Yeah I know I can add behaviors through triggers, but I figured there was a better and less messy way to do it than that (Like Ability of type Passive) unfortunately the game HAS NO Ability/Passive so I can't really reverse engineer anything.
That's okay. I think I am going to do it using triggers to add the behaviors (even though I think its messy and unnecessary) but hopefully someone will show me how to do it correctly!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi all!
I'm trying to give my hero passive abilities (Like move speed, health buff, etc) through a skill tree dialog (Not through hero learn). I am able to add passives through hero learn but for some reason adding abilities through triggers and dialogs doesn't work the same way. I was wondering if someone could show me set by step how to either..
add passive abilities through triggers (or should I just add the behaviors and link them to a dummy ability?) or a map that I can download as an example.
I've watched and read through pretty much EVERY tutorial out there and none of them pertain to skill trees.
Thanks!
@Rhadamant5186: Go
i could make a skill tree tutorial but skill trees require a LOT of triggering
@drummerboy1151: Go
I've already made a skill tree with active abilities as skills, I am just stumped on passive abilities. I don't need the entire skill tree tutorial (although that would be nice for other people). Thanks for the quick reply.
The way I did active abilities is when you push the dialog item that relates the to ability it checks what dialog button you pressed and if you don't have the ability it gives it to you and if you have it, it levels it up by 1 for you. This works great. When I do this for passive abilities it does not apply the behavior that is linked with the ability.
You make dialog item buttons, you need to have an array on the buttons for each button, and a behaviour variable with array. let the behaviours be null on the arrays which are abilities and the passive behaviour be on the variable matching the arrays. When you teach it you add the behaviour. All i could think of.
@slaydon: Go
Thanks! Yeah I know I can add behaviors through triggers, but I figured there was a better and less messy way to do it than that (Like Ability of type Passive) unfortunately the game HAS NO Ability/Passive so I can't really reverse engineer anything.
Oh, sorry, i didnt read the whole posts >:
@slaydon: Go
That's okay. I think I am going to do it using triggers to add the behaviors (even though I think its messy and unnecessary) but hopefully someone will show me how to do it correctly!