I know what you mean but if I disable the passage from those directions,I will make it impossible for the player to go underneath,one solution would be to put some invisible blocks that don't allow movement
from a single direction,so I then would be able to restict up movement while allow down, the problem is that the bridge tiles are 1 square wide so it would be impossible to implement.
Another thing I just thought is to set some events on the sides of the bridge that would turn Through ON for the player.This would be extremely dangerous,what if the player decides not to go under the bridge.
Last edited by Larryturbo; July 22nd, 2013 at 03:33 AM.
I just can't do it. I'll simply remove that bridge.The bridge scripts are all over the place and are dependent on other scripts ,meaning that it's really difficult to edit and keep track,thanks for your help anyways.
Honestly, you don't need to fiddle with any scripts. I did all the script-related stuff when I wrote the bridge scripts.
All you need is to set your bridge tiles to terrain tag 15, priority 4, and give them movement permissions as if you were walking on them (i.e. can walk east/west but not north/south for your bridge). Then use two (sets of) events for each of the bridge, which call pbBridgeOn or pbBridgeOff depending on whether they're nearer or further from the ends of the bridge respectively - see the example maps.