• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Units not affected by invisible platforms

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
Hi.

Well, the title already says what I need. How can I make a unit not be affected by invisible platforms?
I have a bridge with invisible platforms, so units can walk over it. However, I need some flying units to be constantly walking below the bridge. And if I have invisible platforms, they instantly go up when they reach the bridge. I need them to keep their flying height below the bridge.
Is this possible? I tried some things and they didn't worked...

Regards
 
Level 25
Joined
Jul 10, 2006
Messages
3,315
Two methods, both of which are difficult, limited and not smooth:
- Set the flying units' heights to negative. If these flying units go beyond the bridge, their height will have to be changed. Note that you can't give a unit negative height, so if a unit "goes under" the bridge, you'll have to replace it with a unit that has negative initial height.
- Trigger the height of the units walking OVER the bridge. No matter how you do it, the units will "bump" a little when they walk on/off the bridge. You will then also need to trigger the units to be unable to walk off the sides of the bridge.

I made a map a while back where I attempted to add bridges that defenders can walk over and attacks can walk under (both ground units); I'll see if I still have it lying around somewhere.
 
Status
Not open for further replies.
Top