Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Greetings.
I want to make ability that turns caster invisible and gives bonus movement speed, just as Wind Walk does.
When invisibility is stopped so is movement speed bonus.
Wind Walk has those things but looks like can't be for plying units.
Things that Wind Walk has but I don't want in this ability are backup damage and collision-less caster.
In advice thank You <3.
Just use regular invisibility (cast by dummy unit) and berserk (for instant no target ability + move speed bonus)?
If you don't want there to be two different buffs you could give the extra movement speed directly with triggers instead. Or perhaps you could add and remove "permanent invisibility" while using berserk for the movement speed.
I have to say though, don't flying units pretty much ignore collision anyway?... (So why wouldn't windwalk work? You can remove the bonus 'backstab' damage very easily.)
Yeah, they do ignore collision, and that's okay, not problem there, but any unit with Wind Walk buff can't go though Terrain, structures, doodads and similar pathing things, so do not air units and then isn't a basically air when you can't go over cliff.
And I didn't understood you "Or perhaps you could add and remove "permanent invisibility" while using berserk for the movement speed.", so if you will to explain it. And how will I remove bersek buff when I break invisibility? Unit - Attack / Finishes casting effect of an ability?
Yeah, they do ignore collision, and that's okay, not problem there, but any unit with Wind Walk buff can't go though Terrain, structures, doodads and similar pathing things, so do not air units and then isn't a basically air when you can't go over cliff.
And I didn't understood you "Or perhaps you could add and remove "permanent invisibility" while using berserk for the movement speed.", so if you will to explain it.
permanent invisibility is a passive ability without an icon and without buff icon (at least iirc) that makes the unit invisible, it's normally found on Far Seer's summoned spirit wolves.
Because it's automatic and has no icons, the idea is that it would allow another ability like berserk to be used for both the buff and the movement speed (as well as being the visible activate-able ability on the unit's command card).
So when a unit uses your custom Berserk ability, you could simply add this ability to that unit.
I didn't think much about it though since it was just an afterthought, so I didn't consider that neither berserk nor permanent invisibility would disappear when the unit attacks.
If the unit is a melee attacker, then using a damage detection system would work. But it wouldn't be as easy with a ranged attacker, so it might not be an option.
constant unitevent EVENT_UNIT_DAMAGE_RELEASE
//This triggers when a unit's attack is released, aka when a melee unit hits its target or a ranged unit launches a missile.
constant unitevent EVENT_UNIT_MOVES
So maybe it exists, but I checked with the world editor on latest patch, and it's also not listed here common.j -- patch 1.30.4 | HIVE so presumably it either doesn't exist or it's on ptr or something.
But even if it doesn't exist, it might exist in a future patch.
As for if you're using a custom sorceress' "invisibility", that invisibility is broken when a unit attacks, so you only need to check for if the unit loses the invisibility buff and then also remove berserk's buff (check with periodic event).
Hmm, okay, I thought similar to what you said but didn't thinking about checking for sorceress invisibility buff although I think to add it to cover "invisibility" part of the problem. I'll try to make it, I believe it will work but since WarCraft III are so limited, I always, when it came to checking with periodic event, has a feel that I can not do it precise. Anyway, it can be leak up to whole sec, so, still sounds very possible and easy to do.
One thing I always believed, that checking with periodic events make huge memory leaks, what is the main reason you can not do it precise. Is it true?
Hmm, okay, I thought similar to what you said but didn't thinking about checking for sorceress invisibility buff although I think to add it to cover "invisibility" part of the problem. I'll try to make it, I believe it will work but since WarCraft III are so limited, I always, when it came to checking with periodic event, has a feel that I can not do it precise. Anyway, it can be leak up to whole sec, so, still sounds very possible and easy to do.
One thing I always believed, that checking with periodic events make huge memory leaks, what is the main reason you can not do it precise. Is it true?
Periodic event doesn't leak, but if you make a trigger that leaks and it's on a periodic event, then chances are you'll have big problems since the leak will happen constantly.
Also, you should try to use as few periodic events as you can, since they'll all run simultaneously. So what you should try to do if you're having a lot of periodic event triggers is to combine them into a single one, so there's only one event instead of one event for each trigger.
And if you're using something like every 0.03 seconds or 0.1 even, then generally speaking that's going to be just fine.
As for being 'imprecise', just think about FPS. Updating every 0.03 seconds is basically 33 FPS. Or you could think of the delay as if it was lag, so 30 ping (ms), and that's the worst case scenario. (Which isn't a lot anywhere outside of Korea.)
ok i couldnt be botherd reading all that but your problem might be that wind walk is not able to target flying units try updating that also make sure that you have coppied it so you can change to not be a hero ability (unless its for a hero)
Thank you everyone. I find solution, Just make ability that gives movement speed, then, when casted, trigger it with Sorceress Invisibility buff, make another trigger that checks for that buff and according to Invisibility remove movement speed buff. However it end with two buffs but I do not care, movement speed can be made with triggers but it's not important here.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.