• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Passive "go throught units" like wind walk

Level 6
Joined
Jan 12, 2014
Messages
59
Hello,

I want one of my unit to be able to walk throught everyone (but not trees and cliffs) and remain visible, and can still attack.
I tried the ghost (visible) but it only makes them clip through each other but not through anyone else.

I tried to use the windwalk ability, but the duration for the invisibility, movespeed and clipping are the same.
 
Level 29
Joined
Sep 26, 2009
Messages
2,596
I am using wind walk in my 'custom resource' project for similar reason as you want. I wanted workers to be able to pass through other units (and let the other units be able to pass through them as well). I did not want those workers to pass through unit structures or trees or cliffs.

If the same is true for you as well, you can actually achieve that with Wind Walk. Just disable Backstab damage, set Movement speed increase to zero, the duration to zero (making it infinite duration) and finally set Transition Time to -1, that way the unit never enters stealth (you will need to use the shift+click trick to input negative value).

Those units will still auto-attack and will be auto-attacked, it's just possible for them to run through other units.
The buff will stay on those units even if they attack anyone.
Wind Walk is also physical spell, so the buff cannot be dispelled. The only annoying thing is that you need to order units to cast Wind Walk, but that's all.
 
Level 24
Joined
Feb 27, 2019
Messages
833
I fixed up an old test map of mine. It does exactly what Nichilus said but it doesnt require an order. It also re-activates the wind walk when the unit casts an ability which normally interrupts wind walk. It gives the unit a power up item with the wind walk ability. If the unit doesnt have an inventory, a hero inventory can be added for an instant. If the unit has an inventory, the inventory ability can be transformed into a hero inventory for an instant using engineering upgrade. The only edge case I have noticed with this wind walk technique is in combination with Permanent invisibility, which causes the unit to be unable to finnish an attack. At least with 0.00 transition time of the Permanent invisiblity ability, I dont remember what happens with other values. Oh and yeah, when giving items to units there are some cases when the unit cant use the item such as if its polymorhped, but since its a passive that affects one unit and it cant cast an ability while interrupted in any way its safe.
 

Attachments

  • move through units.w3m
    19.1 KB · Views: 6
Top