hey guys im trying to work on a spell that sorta works like the traps in WOW ( with the hunter)
Basicly put down a Invisible Unit that has a Crazy effec/behaviour when u walk over it .
But im having problems figuering out how to have the effect/behaviour take effect when Enemy unit comes in range. right now i basicly just have it as a abillity that you click that sets off the trap . but i want it to be automatic .
now as im writing this i relise , cold i just set up a auto cast on the ability and change range to 0 ( so the unit has to be direcly over the trap )
or is their a better way of doing this ?
You could try looking at how Spider Mines work. Except instead of having it attack or whatever it does make it do what you want. I think it's just a behavior that searches within an area, for spidermine it actually moves to target so you can change this to a small area for your trap. When enemy unit walks within the area do an apply buff and apply whatever buff you want to the enemy.
I think, I'm just going off the top of my head from what I remember. Been a couple weeks since I jumped in the editor due to school.
thtas a good idea . ill look at the spider mine think ist gona be perfect . i really dint want to have to write 50 lines of triggers to get this done , :P lol
Unless it needs to walk like a spider mine that seems unnecessary. Can't you just give it a periodic search effect with whatever range you want it to trigger at? You can then use an effect to apply whatever buff you want and to destroy the trap if you want. (destroying is just making a damage effect that does lethal damage to source).
i was planing on just making a Cloacked unit with no foot print , no radius , and i guess i could just use the saerch effect with the damage effect to destroy the unit *trap *
seems liek theirs is quite a PHEW ways of doing this . thankx again every one .
Unless it needs to walk like a spider mine that seems unnecessary. Can't you just give it a periodic search effect with whatever range you want it to trigger at? You can then use an effect to apply whatever buff you want and to destroy the trap if you want. (destroying is just making a damage effect that does lethal damage to source).
This is what came to mind to me first as well. It's the most logical and simplest to do.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hey guys im trying to work on a spell that sorta works like the traps in WOW ( with the hunter)
Basicly put down a Invisible Unit that has a Crazy effec/behaviour when u walk over it .
But im having problems figuering out how to have the effect/behaviour take effect when Enemy unit comes in range. right now i basicly just have it as a abillity that you click that sets off the trap . but i want it to be automatic .
now as im writing this i relise , cold i just set up a auto cast on the ability and change range to 0 ( so the unit has to be direcly over the trap ) or is their a better way of doing this ?
Have you considered making it have a normal attack which triggers the effect?
You could try looking at how Spider Mines work. Except instead of having it attack or whatever it does make it do what you want. I think it's just a behavior that searches within an area, for spidermine it actually moves to target so you can change this to a small area for your trap. When enemy unit walks within the area do an apply buff and apply whatever buff you want to the enemy.
I think, I'm just going off the top of my head from what I remember. Been a couple weeks since I jumped in the editor due to school.
@Keyeszx: Go
thtas a good idea . ill look at the spider mine think ist gona be perfect . i really dint want to have to write 50 lines of triggers to get this done , :P lol
Unless it needs to walk like a spider mine that seems unnecessary. Can't you just give it a periodic search effect with whatever range you want it to trigger at? You can then use an effect to apply whatever buff you want and to destroy the trap if you want. (destroying is just making a damage effect that does lethal damage to source).
i dont really need it to move .
i was planing on just making a Cloacked unit with no foot print , no radius , and i guess i could just use the saerch effect with the damage effect to destroy the unit *trap *
seems liek theirs is quite a PHEW ways of doing this . thankx again every one .
This is what came to mind to me first as well. It's the most logical and simplest to do.