turf
ea
Enter()
if(!client) // not sure if i could use ismob? not sure if thats even a proc in DM I'm at work right now.
//walking stuff
else
return
This maybe bad practice not sure, but I'm at work so yeah.
ID:155775
Mar 23 2011, 2:25 am
|
|
Right so i want it so when a npc enters a turf area it walks in a certain direction. I've had a guess at how this would be possible.
turf This maybe bad practice not sure, but I'm at work so yeah. |
Mar 23 2011, 2:35 am
|
|
I would use Entered but looks good! , but your npc will not be able to enter the turf the way you have it
|
In response to Warriormax
|
|
How would i go about making it possible so an NPC is allowed to enter?
|
In response to Rickoshay
|
|
If I was you I would make your NPCs a subset of Mob.
e.g. mob/NPC/player Then you could use if(istype(src,/mob/NPC)) to check its an NPC, rather than just looking to see if has a client or not. |