4
« on: August 18, 2001, 09:59:35 PM »
Ok, I think I've found why the priority lines aren't working. I had added the observe.blocks(ego) command incorrectly. This fixed my problem from the door on up, but I'm still experiencing it in that cyan colored area. I'm thinking I might have to redo the entire room if I can't get something working there, because the fill command isn't working in picedit over that block of cyan for some reason.
I got the cels working correctly and after messing around with the door from trial and error got it drawn good enough so it actually closes without part of it bleeding through the wall, but my main problem at the moment is getting the door to open up. I copied the code exactly from the tutorial, but of course, the coordinates would have to be different. How do these work? I figure the #,#,#,# means if ego is anywhere between #,# & #,# it will open the door, so I went into picedit and checked the coordinates of one side of the door, then the other, and used those, but no matter where i stand it always gives me, "You are not close enough" Am I going about this the wrong way? Other then that things are going along smoothly. I'm cleaning up the code from what the template game originally gave me (thankful for my "C" experience on this one, its making learning AGI a lot easier, I'm just glad this board is here to help iron out the bugs for me! Eagerly awaiting your reply so I can get back to learning the ropes.)