Walkable Paths

Status
Not open for further replies.
Level 9
Joined
Apr 4, 2004
Messages
519
Having a bit of a problem and I need help figuring this one out. xP

Is there a way to make units walk on both of the white lines at the same time without colliding? Two forces colliding both on and under the bridge. It's for a very small homemade AoS for me and a few friends.
 

Attachments

  • Walkable Paths.png
    Walkable Paths.png
    1.6 MB · Views: 197
There is the way even without a JASS, but you can walk only one path at once.

What you need to do is put invisible platforms on bridge surface, blockers on the sides and at starts of bridge. Also, 4 regioons, 2 on sides of bridge and 2 at start. If unit enters zone that is marked as start of bridge, then you need to ressurect blockers on sides and invinsible platforms. If unit enters zone marked as "underbridge" then you need to kill platforms and blockers on the side, and ressurect blockers at the starts of bridge.


If you want two at once... Then it's high-fly JASS code, including flying units and stuff. So I heard.
 
You have to make simulations to achieve this effect. One I can think of right now is:

Code:
          |         |
          |         |
--------------------------------
       **$$         $$**
       **$$         $$**
--------------------------------
          |         |
          |         |

The ** is one region
The $$ is another region.
The -- are pathing blockers (air)

Whenever a unit enters the $$ region, add the "destroyer" ability (or anything else that makes the unit fly)
When the unit is flying, it will be able to cross the bridge

Whenever a unit enters the ** region, it loses its flying abilities so it can walk again.

Units should now be able to walk underneath the bridge, and also "fly" over the bridge.
 
Thanks for the answers. I checked the tutorial, Nbah. Thanks. ;>

Quick question though; I tried adding Storm Crow Form to every unit entering the region like Eleandor demonstrated, but it doesn't help. I think the problem is that they don't become flyings units. What'd I miss? xP
 
There is the way even without a JASS, but you can walk only one path at once.

What you need to do is put invisible platforms on bridge surface, blockers on the sides and at starts of bridge. Also, 4 regioons, 2 on sides of bridge and 2 at start. If unit enters zone that is marked as start of bridge, then you need to ressurect blockers on sides and invinsible platforms. If unit enters zone marked as "underbridge" then you need to kill platforms and blockers on the side, and ressurect blockers at the starts of bridge.


If you want two at once... Then it's high-fly JASS code, including flying units and stuff. So I heard.

He's on the ignore list, but this seems like a solution, so I figured I'd quote it so you all can see it.
 
Status
Not open for further replies.
Back
Top