Static npcs?

Post » Tue Dec 29, 2009 11:57 am

i want to make static npcs. Someone know the script?
User avatar
Yvonne
 
Posts: 3577
Joined: Sat Sep 23, 2006 3:05 am

Post » Tue Dec 29, 2009 12:29 pm

SetActorsAI 0 to freeze them completely, SetGhost 1 if you don't want to be able to still beat them to death, "is pushable" (or something like that) ticked in the NPC's properties so you can't push their collision mesh away from their frozen appearance. There was also mention of SetRestrained, but I'm not sure what it does and if it's necessary for this method (It was mentioned in tandem with giving the NPC a constant paralyze effect, maybe effects Havok? Dunno).
User avatar
Becky Cox
 
Posts: 3389
Joined: Thu Jun 22, 2006 8:38 am

Post » Tue Dec 29, 2009 4:52 pm

SetActorsAI 0 to freeze them completely, SetGhost 1 if you don't want to be able to still beat them to death, "is pushable" (or something like that) ticked in the NPC's properties so you can't push their collision mesh away from their frozen appearance. There was also mention of SetRestrained, but I'm not sure what it does and if it's necessary for this method (It was mentioned in tandem with giving the NPC a constant paralyze effect, maybe effects Havok? Dunno).


Setrestrained makes them unable to walk away.
User avatar
Melung Chan
 
Posts: 3340
Joined: Sun Jun 24, 2007 4:15 am

Post » Tue Dec 29, 2009 12:06 pm

Setrestrained makes them unable to walk away.

Ah, so I guess you could use that if SetActorsAI 0 doesn't let them equip armor? Though does it stop all animations like SetActorsAI 0?
User avatar
Sudah mati ini Keparat
 
Posts: 3605
Joined: Mon Jul 23, 2007 6:14 pm

Post » Tue Dec 29, 2009 10:10 am

Ah, so I guess you could use that if SetActorsAI 0 doesn't let them equip armor? Though does it stop all animations like SetActorsAI 0?


No, they can still fight and all, just not walk away. Makes for great snipers or guards.
User avatar
c.o.s.m.o
 
Posts: 3419
Joined: Sat Aug 12, 2006 9:21 am


Return to Fallout: New Vegas