Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to stop the scripted NPC's from walking, permanently…


damian666
 Share

Recommended Posts

Like title tells ya, i want to stop the scripted npc's from moving like, totally…

how do i do that?

i tried modifying the cannpcmove sub, but that seems to cause them to spawn in different spots on map load :S

they HAVE to spawn exactly where i want, and they should not move, at all.

i need this modification to use them as pushable rocks.

any help is apriciated.

Damian666
Link to comment
Share on other sites

  • 3 weeks later...
Find:

```
' Check to see if its time for the npc to walk
If Npc(NpcNum).Behavior <> NPC_BEHAVIOR_SHOPKEEPER Then

```
and replace with:

```
' Check to see if its time for the npc to walk
If Npc(NpcNum).Behavior <> NPC_BEHAVIOR_SHOPKEEPER and Npc(NpcNum).Behavior <> NPC_BEHAVIOR_[scriptedorw/eitisineclipse] Then
```
Link to comment
Share on other sites

@[SB:

> Soul link=topic=53879.msg577997#msg577997 date=1259093380]
> We already resolved this topic before :P. Using the same code Robin did. (it was in a different topic though, can't find it)

It obviously didn't resolve this topic, because it wasn't answered.

As the question has been answered, I'm locking this. No reason to keep posting.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...