[JASS] Walking Under Bridges

Status
Not open for further replies.

omnipotentram

O

omnipotentram

Hi, sorry if this is in the wrong section but methinks the problem is with blizzard coding.

anyways, simply how do i make it so units can go under a bridge. (might i need a custom model?)
 
unless you want units to be able to walk above it you can just change pathing, there is no way to make both ways (up and down) walkable at the same time
 
Oh god are you serious????

wtfwtfwftwftwftwftwftwftwft why is it sooo gay like that.... You sure u cant dl some custom thing to make it work both ways?
 
1. Change the needed bridge's pathing to 0
2. Create a model similar to bridge, but using a transparent(no texture) texture.
3. Create a bridge with that model (it must have pathing)
4. Create two regions at two sides of the bridge.
5. Then trigger when player unit enters a region, create via GetLocalPlayer() player-local bridge. Player unit will walk on it, and other will go under.
__________________________
But that's a theory. GetLocalPlayer() is a desync friendly func, and may lead to crash. I was unable to test this in multiplayer. Also note that you'll be unable to cause two of your units go on and under the bridge.
 
Status
Not open for further replies.
Back
Top