ID:270334
![]() Mar 17 2006, 5:13 pm
|
|
I've already got monsters in my game,but I was wondering is there anyway to prevent monsters from going on specific tiles,but still allow people to move around on that tile.I tried some of the monster demos but none of them had anything like that on it.Could anyone help me out?
|
Still wrong. In every case it'd return false.
turf ..() will return the default action for this situation, and that's what you want to return when the enteree is a player. Then you'll want to return false if it's anything else. |
Thanks for your help guys,code works great.
All I need now is another code like this but does the opposite,so players cannot pass but the monsters can. |
turf |
Pvt.Sampson wrote:
I mean a code exaclty the same as that BUT it allows mobs to pass and not the client. thats what it does, the !M.client, means no client the ! is the not operator |
A little something like this