i got it workin thx, i have 1 more question if ya dont mind. how would i go about setting it up so that the player can use a ladder to climb up on the roof to fix a few spots, without walking on or off the roof from any other location other than the ladder. i read somewhere i would have to use events. but i dont have any idea how to even begin to set that up
That is the basic function of a ladder and already incorporated into the default ;-)
There are two problems you should be careful about:
1) A ladder is defined as a tile which has the flag "ladder" in the tileset database set. It doesn't matter what picture it shows, it's a ladder or not depending on that setting (which is not a ladder for most cases).
2) that only works automatically for the autotiles set as ceilings - which is only about half of those tiles in the A4 (walls) segment of the tileset definition. (should be obvious by their looks)
Mixing those definitions up usually results in the player being able to get on and off the top of the walls at placed that weren't intended.
----------------------------------------
If that doesn't work for you, you might need to make a set of 9 roof tiles (center and all 8 edges) in a B-Tab and use directional passability settings to allow movement only within that structure.
I wouldn't recomment this however because it only works if you can spare that block of tiles and if you can put your own tilesets together in a graphic program.