Jump to content

A Scripting Question


j0z

Recommended Posts

Okay, here is my question:

In my mod the player walks into a room, with a daedric stautue in the center. When he/she activates it, it says a short bit then the doors lock. Then a group of enemies appears in the shadows. I know how to do all of this, but I want to have it so that after the player kills all the enemies (4 hungers and a Ice Atro) that they can activate the statue again, but not before they defeat the enemies. How do I set up a counter so that the script "knows" when all the enemies have been killed?

Thanks in advance

Link to comment
Share on other sites

-- edit , well it doesn't I realized a second passed --

 

You need the GetDead or GetDeadCount

 

GetDead is probably the best. Click on it for official reference.

GetDead count is for checking if a specific Reference is Dead.

GetDeadCount is useful if you created specific creatures, like another stats, inventory and you have a couple.

 

Best if you show what you've already got for the statue, depends also on what you've done already.

 

But I think you got it :thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...