• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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