Make Unit go trough everything except Doodads


New Member

ive now had this running for a long time in the normal helper section, and we have absolutly found out of nothing :D

I need my peasant to be able to go trough every building, but not Doodads..

Things that dont work:
Flying aint an option
Aura´s on towers turning collision off for nearby units
Collision changes
No Pathing map

We have tried a lot and no solution..

So, can someone please help me and tell me if this is possible in JASS?
Make the unit go trough buildings but not doodads/destructibles?


Super Moderator
Staff member
Well, everything except doodads is just buildings isn't it?

Maybe you could give all buildings a collision size of 0?


New Member
alrdy been trough all that :)

Will take long time to go trough it all again so if you wish you can read the thread heh:



Builder Bob

Live free or don't
I would say make the peasant fly again, but then you'd shut it down as something that doesn't work.

Instead, here's a map featuring:
  • Footmen blocked by both buildings and doodads
  • Peasants blocked only by doodads

Edit: Additionally, if you want doodads/buildings that only footmen can go through, use the pathing color Cyan.

Here's a link you might be interested in: Pathing Map Types


New Member
hmm never rly thought of it that way.. think the flying is working.. will have to test thou :)

but thanks a lot for the good explanation and showing me trough that map..

EDIT: Cant give rep as i alrdy gave you lately hehe

Builder Bob

Live free or don't
No problem :)

Another solution you might be interested in that requires triggering, is one that uses the function SetTerrainPathable(x, y, pathingType, flag)

pathingType can be
flag is true or false, to enable or disable the pathingType.

It would require some kind of system on your part to set the right pathing in the right places, but once it's made you can have a map without flying peasants.

Let's assume you don't use water in your map. Then you can set your peasants pathing type to amphibious, and enable PATHING_TYPE_AMPHIBIOUSPATHING wherever necessary. This won't enable PATHING_TYPE_WALKABILITY, so only the peasants will be able to pass.

Note: if I remember correctly, SetTerrainPathable() changes an area of 32x32
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Happy Hump Day!
    Happy Friday!
  • cubanral cubanral:
  • The Helper The Helper:
    Friday Yay!
  • mgarcia mgarcia:
    did you guys catch Carl's interview?
  • mgarcia mgarcia:
    he's the one that informed me about the DVD's working!
  • mgarcia mgarcia:
    he also mentioned the progress on the controllers!
  • The Helper The Helper:
    I did actually it was cool to see the NUON mention
  • The Helper The Helper: you can still use this chat too we are two fisted now :)
  • thewrongvine thewrongvine:
    costs me $80 to fill gas tank sad face
  • Ghan Ghan:
  • The Helper The Helper:
    Yeah that gas is some expensive stuff :)
  • The Helper The Helper:
    ghan does not have to worry about it he has a tesla and I have a small tank so it does not cost me usually more than 50
  • The Helper The Helper:
    fyi Ghan we are getting an error trying to access stats or world editor tutorials Error 526 Ray ID: 72128c6bf99f6707 • 2022-06-26 02:35:15 UTCInvalid SSL certificate
  • Ghan Ghan:
    An artifact of switching to Cloudflare... the Let's Encrypt certs can't autorenew through Cloudflare.
  • Ghan Ghan:
    I got the forum updated before things expired but there were some other casualties.
  • Ghan Ghan:
    Everything should be fixed now....
  • The Helper The Helper:
    Thank you Ghan!
  • The Helper The Helper:
    Happy Monday!
  • The Helper The Helper:
    new NUON forum mod cubanral!
  • The Helper The Helper:
  • tom_mai78101 tom_mai78101:
    Started learning how to make tools-assisted speedruns, so I'm lately busy.
  • tom_mai78101 tom_mai78101:
    Here's my current project.
  • O Old Mountain Shadow:
    that was pretty good!
  • jonas jonas:
    really cool! I saw the game before but always thought it's just a half as good double dragon. Now I realize it actually has a lot of depth!

    Members online

    No members online now.


    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.