![]() |
Overpassing Bridges(Passabilty..Again)
l l
______l l_____ l ____****____ l l l l l l l l * is the bridge When you come from the bottom or top the bridge appears overhead,you can go in any direction but not the far left or right(It's too high. When you come from the left or right the bridge is below you and you can not go up or down. The problem is apparent. The bridge is always below you and can go in any direction. I have an idea that involves lots of events but I just can't seem to change the direction passabilty. |
Surround the bridge with events like this:
Code:
-------------------------- Bridge Event - 2 pages Page 1: Preconditions (none) Event layer: "Below Hero" Page 2: Preconditions (Switch 0099:BridgeAboveYou is ON) Event layer: "Above You" O event - 1 page Trigger Condition: On Hero Touch <>Switch Operation: {0099:BridgeAboveYou} ON <> U event - 1 page Trigger Condition: On Hero Touch <>Switch Operation: {0099:BridgeAboveYou} OFF <> ======= As you can obviously guess, this just switches the bridge to be above or below you, which is the effect you want. |
Huh I never messed with the pages(Of course Derr) But is there any way to prevent the player who triggers the O event from just going to the side and triggering the U event?
If the O event triggers a switch: U no go and prevents movement for U's and the U does vice a versa, That'll work right? I think I just answered my own question, I'll go implement it right away, Thanks.... again |
Nope that my O,U up and down is a hassle to code, It's much easier to have the lower block the ends from the bottom so the hero can get off but but not back on.
|
Yeah, that was at 1:44 this morning, so you'll have to forgive me for my.. non-thinking ability.
I still haven't slept yet. Yes, the O/U events would toggle between "Same Layer As Hero" and "Below Hero", which would activate via "On Hero Touch". So you'd need 2 pages on those events. I should've included that, but it WAS 1:44 AM and quite frankly you're lucky I didn't answer with "<>DO THE SWITCHES THEN THE OTHER THING" . Oh well. I hope it works for you, and I hope that I get some sleep at some point... |
I'll sleep when I'm dead.
|
All times are GMT -6. The time now is 04:15 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.