Bridge entrance problem

Drakens

New Member
Reaction score
7
Hi. Long time since my last post (about June or so)
I'm making a City with water all around, and a bridge comes out of the water when your unit comes near the city entrance.
The problem: when you order your unit to move inside the town, instead he moves to the nearest point outside the city (because the bridge is underwater). I want to know if i can order my unit to move to the bridge first, and from there to the target point.
Thanks :D

(the bridge works well: It sinks only when there are no friendly units over it)

(I made this image: i hope it helps a bit ;))
 

Attachments

  • Bridge.jpg
    Bridge.jpg
    25.5 KB · Views: 188
That probably means that the pathing isn't working. In other words, your bridge doesn't work. You need to pay extra-special care that ground pathing is unbroken across the bridge when it is raised.
 
First of all, are you sure units can go over the bridge? In most cases, the terrain is too high, and the units can't walk on it :D

EDIT: DAMN IT!!! GHAN GOT TO IT FIRST XD
 
As I said, the bridge works as I want: It is submerged, so anyone can cross it, but if you come near it, it appears over the water and you can cross it.
Of course, when it's underwater the path is blocked...

I guess if there's any way to order a unit to move first to the bridge (so it comes out of the water), and then to the point where you right-clicked...
 
So, units can actually cross the river but don't? Weird.

I don't know that you could order a unit to move to a bridge.... If you created an invisible dummy on the bridge, you could order the units to move to the position of the dummy....
 
Ok... :(
The bridge is like a DOOR: it is "closed", but if my unit comes near it it "opens". So if i click directly inside the town the bridge/door is closed, and the path is blocked. Got it? ;)
 
Ok. So. Here's a thought:

Create a region that contains all the area on the opposite side of the bridge.
Use a trigger that fires when a unit is issued an order targeting a point.
If the region contains the point, raise the bridge, then re-issue the order so the unit will "see" the bridge.

Would that work?
 
Ghan I can think of an add-on to your idea...

When the unit is ordered to enter the town (which should be one big region) they instead (with triggers) move to the area that units enter to get the bridge to rise. Then from they they move to the point in the town (which would be in a point variable :D)
 
that will probably work. I'll try both ideas :D (when i get home (I'm using a friend's computer so I don't have my map here...))

Thanks!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    It is weird seeing a way more realistic users online number
  • The Helper The Helper:
    Happy Tuesday Night!
    +1
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top