How do I make the animated jail gates not open for zombies

Post » Tue Nov 09, 2010 11:55 pm

How do I make the animated jail gates not open for zombies but will open for NPC and the player?

I thought the AI packages had this as a check box but they do not.

And locking the door will not work once the player has unlocked it.

(maybe a script to lock it again after the player passes thru?)
User avatar
hannah sillery
 
Posts: 3354
Joined: Sun Nov 26, 2006 3:13 pm

Post » Wed Nov 10, 2010 1:11 am

Hey SpookyFX.com,

From reading the below link, I think "Intelligence" stat is what controls creatures to be able to open doors:

http://cs.elderscrolls.com/constwiki/index.php/Stats_Tab_-_Creatures

So your zombie's Intelligence might be too high. Try making your zombie "dumber".

Koniption
User avatar
Lexy Dick
 
Posts: 3459
Joined: Mon Feb 12, 2007 12:15 pm

Post » Tue Nov 09, 2010 1:12 pm

If your still interested in automatic locking doors.
http://www.invision.tesalliance.org/forums/index.php?/topic/2439-class-5-auto-doors/
User avatar
Ladymorphine
 
Posts: 3441
Joined: Wed Nov 08, 2006 2:22 pm

Post » Tue Nov 09, 2010 6:45 pm

oh yeah! That makes sense! Thanks I will check this.

But I did get it working with the following scripts:


scriptname aadpJailGateControl

begin onactivate player

if getlocked == 0
lock
else
unlock
endif

activate
end


However it "INSTANT" closes the door (no animation is seen of the door closing.)


Hey SpookyFX.com,

From reading the below link, I think "Intelligence" stat is what controls creatures to be able to open doors:

http://cs.elderscrolls.com/constwiki/index.php/Stats_Tab_-_Creatures

So your zombie's Intelligence might be too high. Try making your zombie "dumber".

Koniption

User avatar
Lizs
 
Posts: 3497
Joined: Mon Jul 17, 2006 11:45 pm

Post » Tue Nov 09, 2010 2:15 pm

THANK YOU SO MUCH!

You have a few commands in your script I did not know about that may help my script "instant close" issue.

thank you, oh and Merry Christmas or Happy Holidays (which ever you prefer.)


If your still interested in automatic locking doors.
http://www.invision.tesalliance.org/forums/index.php?/topic/2439-class-5-auto-doors/

User avatar
GabiiE Liiziiouz
 
Posts: 3360
Joined: Mon Jan 22, 2007 3:20 am

Post » Tue Nov 09, 2010 1:45 pm

Merry Christmas to you too! I am glad it was of some use to you. ;)
User avatar
Dona BlackHeart
 
Posts: 3405
Joined: Fri Dec 22, 2006 4:05 pm


Return to IV - Oblivion