So I currently have an on-hit effect where when my Dark Templar attacks he becomes de-cloaked for 3 seconds. There is also a (currently) a second on-hit effect that applies a buff to the target that after 3 seconds does damage. I'm wondering how I can turn this second on-hit effect into a level-able toggle ability.
Some additional info:
Right now the effect works via apply behaviour that applies the buff which is linked to a damage effect. The apply behaviour is then linked through a set to the weapon.
I'm sorry, but would you be able to walk me through that a little bit more?
I've attempted using the behaviour ability to do this before (obviously I must be doing something wrong here) but whenever I do I can only ever get the buff applied to the Dark Templar (which then means the DT is taking damage). How do I work it so that that buff is applied to the unit the DT is attacking?
You will notice the Combat - Damage Response - Location field determines if the damage response trigger when the unit is attacked or does the attack. Another fault could be the Unit - Unit - Value field of the Apply Behavior effect being set to caster and not target.
In short your levelable Behavior ability applies buff A (for that level) that has a damage response on attacker that applies buff B (for that level) to the target.
Buff two, the one that is applied to the unit the DT attacks that has a damage component. It doesn't expire so the damage keeps ticking on them until they are dead.
And I need to have the period and period interval on that buff for it to work as a delayed damage on-hit effect (the DT attacks the target, applying the buff, which causes damage after 3 seconds). Unless you were thinking I was talking about the buff applied to my DT, which is set to default for the period values.
EDIT: As it turns out, it was reapplying itself because it was triggering its own damage response. I managed to work around that, thanks a lot for the help!
So I currently have an on-hit effect where when my Dark Templar attacks he becomes de-cloaked for 3 seconds. There is also a (currently) a second on-hit effect that applies a buff to the target that after 3 seconds does damage. I'm wondering how I can turn this second on-hit effect into a level-able toggle ability.
Some additional info:
Right now the effect works via apply behaviour that applies the buff which is linked to a damage effect. The apply behaviour is then linked through a set to the weapon.
Use a levelable Behavior ability that applies several levels of buff with a damage response on attacker that does the whole deal.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I'm sorry, but would you be able to walk me through that a little bit more?
I've attempted using the behaviour ability to do this before (obviously I must be doing something wrong here) but whenever I do I can only ever get the buff applied to the Dark Templar (which then means the DT is taking damage). How do I work it so that that buff is applied to the unit the DT is attacking?
http://www.sc2mapster.com/wiki/galaxy/data/behaviors/buff/
You will notice the Combat - Damage Response - Location field determines if the damage response trigger when the unit is attacked or does the attack. Another fault could be the Unit - Unit - Value field of the Apply Behavior effect being set to caster and not target.
In short your levelable Behavior ability applies buff A (for that level) that has a damage response on attacker that applies buff B (for that level) to the target.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
EDIT: I managed to get the ability to work correctly (I really appreciate the support, thanks a ton)
One final little hurdle though. I have the buff duration set to 3s, 1 period, and a period interval of 3 seconds but the buff is lasting infinitely.
Forget the period set that to default. Are you talking about buff 1 or 2?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Buff two, the one that is applied to the unit the DT attacks that has a damage component. It doesn't expire so the damage keeps ticking on them until they are dead.
And I need to have the period and period interval on that buff for it to work as a delayed damage on-hit effect (the DT attacks the target, applying the buff, which causes damage after 3 seconds). Unless you were thinking I was talking about the buff applied to my DT, which is set to default for the period values.
Just use the final effect then and give it a set duration.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
EDIT: As it turns out, it was reapplying itself because it was triggering its own damage response. I managed to work around that, thanks a lot for the help!