Ok, I want to set a trap where the ground raises a middle texture fence around the player to temporarily trap him. The visual mechanics of this were easy enough to figure out, a simple line triggers a "raise floor to nearest floor" special and the floor contains the middle textured fence. I will probably change the special to something I can give a delay for the fence to lower after about a minutes worth of trapping the player but finding that special should be a breeze. What I'm worried about however is the blocking properties of the line itself. We all know that the fence texture does nothing to stop the player and its the line the fence is on that actually blocks you if its set to.
So obviously I'm going to need a special of some kind that can change the blocking properties of the line to stop the player from passing through when the fence is up, yet let him pass when its down. Is there anything that can do this, or will I have to resort to using invisible actors to move with the rise sector containing the fence? I don't know if there are any actors narrow enough to fit on the rise sector because I'm going to make it as narrow as possible, so something that would change the properties of the line would be ideal, but I didn't see anything at wiki that caught my eye.
How do I make an impassable line passable, or vice versa?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- Posts: 340
- Joined: Wed Jan 24, 2007 8:54 pm
- The NUtcracker
- Posts: 843
- Joined: Sun Jan 14, 2007 9:12 pm
- Location: South Dakota
- Contact:
-
- Posts: 340
- Joined: Wed Jan 24, 2007 8:54 pm
- Penguinator
- Posts: 625
- Joined: Mon May 22, 2006 6:55 pm
- Location: Hell
Or you can just use [wiki]SetLineBlocking[/wiki] and avoid such hacks.Xaeverion wrote:I think you can also Transfer Heights to make the illusion that its impassible, where its actually a invisible sector with the middle texture having a negative Y axis offset. Side effect would be that you can't shoot through the walls.
