ID:166576
Jul 19 2006, 7:36 am
|
|
i need to kno how 2 make an npc not be able to cross a certain area
|
Jul 19 2006, 7:42 am
|
|
So it can't cross over certain parts of the ground, or over a certain objecT?
|
In response to Critical Productions
|
|
i have a teleport on 1 part of my game and npcs on 1 size but i dont want them to cross over that turf
|
In response to Dazz513
|
|
So you don't want the NPCs stepping on the teleport pad? lol, they'd be teleporting across the map... is that righT?
|
In response to Critical Productions
|
|
yea hold on ima show u what i mean
|
In response to Dazz513
|
|
like this the circles r the npcs
|
In response to Dazz513
|
|
What I would do is make a variable for turfs like, 'NPCPass' or something. Then I'd override the NPC's Move() proc. There's probably a better way to do it, though.
|
In response to Critical Productions
|
|
what about makin a tag on the turf?
|
In response to Dazz513
|
|
Yeah, I think that would work. How many turfs are you planning to have that NPCs can't walk on? I don't know if you can use the same tag twice or not. I've never used them.
|
In response to Critical Productions
|
|
idk but w/e ill try
|
In response to Dazz513
|
|
If you want an area that only allows players to enter, use this.
area/MonsterBlock |
In response to Ephraim
|
|
thanx Ephraim
|
In response to Ephraim
|
|
Ephraim wrote:
If you want an area that only allows players to enter, use this. > area/MonsterBlock That should work |
In response to Shlaklava
|
|
yea it did thanx
|