How do Reznod Mannequins remain static?

Post » Tue Jun 01, 2010 2:34 pm

I've been racking my brain all day over this. Even after looking through the scripts in Reznod's Mannequins mod, I can't figure out how he gets the mannequins to hold their position even when the player is bumping into them. Anyone know anything about this?
User avatar
Sharra Llenos
 
Posts: 3399
Joined: Wed Jan 17, 2007 1:09 pm

Post » Tue Jun 01, 2010 8:59 am

I'm just guessing here, but maybe they don't have AI? Without an AI package, an NPC will just stand there and do nothing.
User avatar
Pixie
 
Posts: 3430
Joined: Sat Oct 07, 2006 4:50 am

Post » Tue Jun 01, 2010 6:13 pm

Without AI, NPCs dont move, but still look araound.

The manequins probably use the same functions as the player statue. A combination of:
setghost 1
setunconscious 1
setdestroyed 1
setav speed 0
User avatar
barbara belmonte
 
Posts: 3528
Joined: Fri Apr 06, 2007 6:12 pm

Post » Tue Jun 01, 2010 4:15 am

Thanks QQuix. Turns out setAV speed 0 is what prevents you from being able to push an actor around. This is pretty fascinating to me as it suggests that when you push into an npc and they move, they are actually moving under their own power.
User avatar
Roisan Sweeney
 
Posts: 3462
Joined: Sun Aug 13, 2006 8:28 pm


Return to IV - Oblivion