| 07-25-2003, 02:59 AM | #1 |
I think there might be something I'm missing, but in the map I'm working on, I'm trying to put bridges which you use to cross across gaps, but you'll also be able to walk under them too. Now I can walk over it just fine, but now when I try to walk under the bridge, I can't, all units just keep trying to walk around it. How do I make it so the units will walk UNDER the bridge? |
| 07-25-2003, 03:16 AM | #2 |
Well, you cant, because you cant have two overlapping paths. The bridge Creates one path, and the terrain makes another. Try this: Make 2 reigons where your units are gunna start going under bridges: [ Bridge Area 1 ] O---------------O | | | | | | | | | | O---------------O [ Bridge Area 2 ] Trigger: Event A unit enters bridge area 1 A unit enters bridge area 2 Condition None Action Kill Bridge 0000 Play Bridge 0000's Stand Animation Trigger 2: Event A unit leaves bridge area 1 A unit leaves bridge area 2 Condition: (MUST HAVE CONDITIONS) Number of Units in Bridge Area 1 equal to 0 Number of Units in Bridge Area 2 equal to 0 Action Revive Bridge 0000, hiding ressurection animation Reset Bridge 0000's animation Hope that helped :D! |
| 07-25-2003, 07:11 AM | #3 |
i was going to say something similar to the above but with one minor addition, I would add a 'small' wait timer between the regions to make it 'feel' like it actually walked under the bridge rather than blinked past it. |
| 07-25-2003, 07:27 AM | #4 |
Guest | Make a bridge elevator.... unless your limited to vanilla... |
| 07-25-2003, 07:38 AM | #5 |
or instead of moving the unit isntantly or killing the bridge, u could cause the player to lose control of the unit as it approaches the underside of the bridge, turn off collision on the unit, make it walk through the bridge (might be difficult because the unit will likely move ontop of the bridge, u'd have to work in some kind of fancy neg-height) and then as it walks out the other side, give control back to the player of course, theres probably a better less convuluted way, but meh |
| 07-25-2003, 07:38 AM | #6 |
Thanks for the input. I'll try to work my way around it. |
| 07-25-2003, 07:44 AM | #7 |
damnet. thsi has been asked =P tping usin regons is hte only resonable way... sept an elivator |
