HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Units with windwalk are unable to pass through items.

01-16-2010, 11:50 AM#1
Na_Dann_Ma_GoGo
Hi,
is it possible to change that? I was kinda astonished when I realized normal units can walk through items meanwhile invisible ones can't -.-
01-16-2010, 03:17 PM#2
Troll-Brain
I don't think you can change it, this spell itself affect the pathing allowed for the caster.
For example use it on a flying unit, then the caster won't be able to fly.

I think the only way is to make a triggered spell.
01-16-2010, 04:17 PM#3
moyack
Collapse JASS:
native          SetUnitPathing      takes unit whichUnit, boolean flag returns nothing
I'd suggest using this native by setting it to false during the spell duration, and setting it to true when it ends. Probably you'll have issues near to water... well, I've been too long away from modding.
01-17-2010, 03:32 PM#4
Panto
Alternatively, you can experiment to see if you have the same problem with the Item Invisibility spell.
01-23-2010, 02:24 PM#5
Na_Dann_Ma_GoGo
Thanks for your help,
got a work around my problem though.