Page 1 of 1
Statues in NWN
Posted: Sun Sep 14, 2003 12:36 pm
by Neve
I remember people trying to get statues with petrify, but the statues always moved their head after. I just found an easy function which can be used to create staturs which don't move heads. Just apply the following on them onSpawn, or during an animation if you want them to take on a different stance.
Code: Select all
ApplyEffectToObject(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_DUR_FREEZE_ANIMATION), OBJECT_SELF);
I bet it's been posted before, but I wanted to share it anyway

Posted: Sat Oct 04, 2003 7:30 pm
by Rat Bastard!!!
Great script, I wrote a similar one a month ago for a dragon statue I wanted in my city. But I was wondering if it was possible to make it so the statue didn't have the talk too indicator when you hovered over it or showed up when you hit the tab key.
Posted: Thu Jan 15, 2004 12:04 pm
by KinX
i just used this script for some statues i'm making. To test it i attacked it and it started following me stuck in that pose. It was actually quite amusing.
Is there anyway i can make statues that won't attack back or go hostile? in other words, can i make one that'll just stand there regardless of what happens?
Posted: Thu Jan 15, 2004 12:13 pm
by JollyOrc
try removing all the other onxxx scripts from the npc
Posted: Thu Jan 15, 2004 12:55 pm
by KinX
all other scripts have been removed. The only one i have is that onSpawn script above.
I guess i need to add a script when the statue gets attacked. And i don't think there's anyway to stop them from going hostile, but it'll have to be looked at.
Even if the scripts don't work, i gave the statues armour that basically makes them immune to everything, so anyone attacking them will get a nasty surprise. Serves 'em right too.
Posted: Thu Jan 15, 2004 1:40 pm
by tindertwiggy
You can make it so an npc cannot move in the properties. Try movement speed.
Posted: Thu Jan 15, 2004 4:29 pm
by KinX
tindertwiggy wrote:You can make it so an npc cannot move in the properties. Try movement speed.
hehe, i shoulda had more of a look around in those properties.
Thanks
Posted: Thu Jan 15, 2004 5:11 pm
by markschouten
Ah thanks , couldn't find a working script

Posted: Thu Jan 15, 2004 6:57 pm
by KinX
just an addition to making statues. On the creatures advanced tab in their properties. If you click on immortal and plot, you can attack them and they won't go hostile.
Noted a wierd thing with the original posted script above. If you apply that to demi-humans, in-game they look like they're floating in mid-air.