Regan
Timeworn
Ancient
Must Try Harder
Posts: 2,382
|
Post by Regan on Nov 30, 2004 9:02:07 GMT -5
Does anyone know how to make an NPC completely immobile? I mean no idles, no shifting about from foot to foot, just head tracking enabled (as if restrained). I would "paralyse" them but it's important they can speak to the player
|
|
|
Post by Calislahn on Nov 30, 2004 9:39:06 GMT -5
Well not exactly, it may be an idea to look at the mannequin scripts, the ones used in Balmora expansion are a bit like that, their arms are down as opposed to being in a weapon drawn stance and he's placed them close together so the heads turn towards eachother. Otherwise the heads would follow you around, not sure if you can talk to them though as i haven't tried, i would assume that they would just do the container business I'm really not sure how else to do it
|
|
Regan
Timeworn
Ancient
Must Try Harder
Posts: 2,382
|
Post by Regan on Nov 30, 2004 10:59:51 GMT -5
Thanks Cali, is there anything you don't know?
I used this bit from the mannequin script and it works perfectly, the NPC can talk but from the neck down is 'frozen'.
SkipAnim if ( menumode == 1 ) return endif
What happens to all these old topics, do they get deleted when 'finished with' ?
|
|
|
Post by Calislahn on Nov 30, 2004 11:03:36 GMT -5
No we just leave everything, although i'm sure bravo gets the urge to tidy up sometimes, he's just like that
|
|
|
Post by Bravo 1 on Nov 30, 2004 11:09:15 GMT -5
Well, once we get our own hosting I think we'll have to delete topics to save space...but since we're on Proboards with free hosting, we let it all sit...and it's funny to browse over and a good resource... No Cali, I see the wisdom of leaving all this in place, so I don't get sudden urges to 'tidy up' ;D
|
|
Regan
Timeworn
Ancient
Must Try Harder
Posts: 2,382
|
Post by Regan on Nov 30, 2004 12:10:13 GMT -5
I've just discovered that the NPC can still 'pivot' when the player walks past, which looks a bit strange as the NPC in question is attached to a wall! I can't find anything in the mannequin script which stops them 'pivotting', so here I am again. (Do I get bulk discount for using this smiley with every post?!) EDIT: Apparently they only turn to face you if they don't trust you, I was wearing a constant 'drain personality' ring at the time. Don't ask.
|
|
|
Post by Calislahn on Nov 30, 2004 13:19:54 GMT -5
:laugh4:
Why? i usually have a fortify personality object not a drain one, still i'm glad you figured it out as actually i didn't know how to fix it.
See i don't know everything after all.
|
|
|
Post by Bravo 1 on Nov 30, 2004 14:32:37 GMT -5
Regan, have you tried draining their strength?
|
|
|
Post by Mebyon on Nov 30, 2004 16:12:29 GMT -5
Health set to 0 rings a bell?
|
|
|
Post by Bravo 1 on Nov 30, 2004 16:16:42 GMT -5
...but Meb, that would kill them...oh wait, I get it... :laugh4:
|
|
Regan
Timeworn
Ancient
Must Try Harder
Posts: 2,382
|
Post by Regan on Nov 30, 2004 16:58:25 GMT -5
It's sorted! I had to delete their AI "Wander package" (oooer) then when they are freed I put an NPC->AIWander etc. line in the script to get them moving again, and of course disable the skipanim function. Thankyou Mebyon, I did try setting their health to 0 but it was a real bugger getting them moving again
|
|
|
Post by Mebyon on Dec 1, 2004 10:59:25 GMT -5
Raising people from the dead has always been a difficult job! ;D (Except in politics!)
|
|