Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin Block
#13
You want a char to not be able to move to an specific square, so check all the positions he tried to move(that's already done) and just a dd a check: if map(i).tile(x,y).type = map_tile_block_or_something_like_that then canmove = false
That's basicly it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)