How do you make an area teleport you to another area just by standing on it? My goal with this action is to have a teleport go below ground level since ramps don't go down.
I'd also like to know how to enable building on ramps while playing the game?
I've experimented with footprints having 1x1 as main footprint and having 1x1(no build) as placement footprint but to mo avail.
I already know about the shift click method, but again I want to be able to build on the ramp during live play.
You can have an area teleport units to another location by creating a region, and then using a trigger to move instantly any unit entering the region to the destination.
As for building on the ramp, I am not positive, but I believe that if you look in the Pathing mode of the terrain editor (shortcut is 'H') then you should find an option to paint a buildable area.
@jakewalsh123: Go
He answered it, but if you're new to triggers or want more detail:
To make a unit teleport to a region by entering a region, set the unit to a global unit variable (Ctrl + B with nothing selected) and create a trigger with the event Unit -> "Unit Enters/Leaves Region." Set "Any Unit" to your global unit variable, and set the region to move from to either one on the map (under Value) or to a variable region. Add any conditions you want. Use Unit -> "Move Unit Instantly" as your action. If you know the coordinates of the point, you can just put it in. Under the Function input for the point, there are several ways of using regions too (such as the center, corners, or a random point inside).
However i did try the pathing method and all i could see was paint a "no build" area. I made sure the area was not a "no build" area, if that counts as a build area i don't know, but it still doesn't work. =/
Terrain automatically receives certain flags based on the location of certain cliffs and ramps. While you can add more flags to the terrain, you can't take away the flags it's already got.
I believe there is a workaround with terrain objects, which are able to have their own pathing which overrides the pathing of terrain. There's a tutorial somewhere for making a working bridge, and the same concept should work for putting building pathing on a ramp.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How do you make an area teleport you to another area just by standing on it? My goal with this action is to have a teleport go below ground level since ramps don't go down.
I'd also like to know how to enable building on ramps while playing the game? I've experimented with footprints having 1x1 as main footprint and having 1x1(no build) as placement footprint but to mo avail. I already know about the shift click method, but again I want to be able to build on the ramp during live play.
Thank you in advance!
You can have an area teleport units to another location by creating a region, and then using a trigger to move instantly any unit entering the region to the destination.
As for building on the ramp, I am not positive, but I believe that if you look in the Pathing mode of the terrain editor (shortcut is 'H') then you should find an option to paint a buildable area.
@jakewalsh123: Go He answered it, but if you're new to triggers or want more detail:
To make a unit teleport to a region by entering a region, set the unit to a global unit variable (Ctrl + B with nothing selected) and create a trigger with the event Unit -> "Unit Enters/Leaves Region." Set "Any Unit" to your global unit variable, and set the region to move from to either one on the map (under Value) or to a variable region. Add any conditions you want. Use Unit -> "Move Unit Instantly" as your action. If you know the coordinates of the point, you can just put it in. Under the Function input for the point, there are several ways of using regions too (such as the center, corners, or a random point inside).
Thank you both for teleport idea, it worked.
However i did try the pathing method and all i could see was paint a "no build" area. I made sure the area was not a "no build" area, if that counts as a build area i don't know, but it still doesn't work. =/
@jakewalsh123: Go
Terrain automatically receives certain flags based on the location of certain cliffs and ramps. While you can add more flags to the terrain, you can't take away the flags it's already got. I believe there is a workaround with terrain objects, which are able to have their own pathing which overrides the pathing of terrain. There's a tutorial somewhere for making a working bridge, and the same concept should work for putting building pathing on a ramp.