Creating a Script to open a Portcullis on an NPC death?

Post » Fri Feb 13, 2015 7:55 pm

Hey guys, I've been trying to create a script in which will open up a Portcullis on an NPC's death but with no luck.

I'd assume it would be an event kill then an event activate?

Any help would be greatly appreciated

User avatar
lucile
 
Posts: 3371
Joined: Thu Mar 22, 2007 4:37 pm

Post » Fri Feb 13, 2015 12:37 pm

Hello. The event should be OnDeath().

Event OnDeath()      myPortCulls.Activate(Self)EndEvent

Attacch the script to the NPC or to the Alias if your'e using a quest.

User avatar
My blood
 
Posts: 3455
Joined: Fri Jun 16, 2006 8:09 am


Return to V - Skyrim