ID:171319
 
how do i make it so a sqaure isnt dense but you cant move to the left. Like in ss13 the windows you can go on same sqaure but you cant go on the other side

F is floor on other side
W is window
M is mob
| is sqaure


|F|W<---M|(cant get past W but can go on same sqaure)
Use Enter() and Exit() to do that.
In response to Crashed
explain..... or like this?

obj
window
icon = "blah"
density = 0
enter()
density=1
exit()
density=0
In response to Strawgate
  Enter()
if(usr.dir==DIR)return TRUE or FALSE

Basically like that.
In response to Crashed
how do i code it im confused
In response to Strawgate
This thread should help: [link]