Jump to content

[LE] How to set up DefaultCounter and DefaultCounterIncrementOnDeath?


Recommended Posts

I'm making a quest to clear out a dungeon but I don't really know how to check if everyone is dead. I can't really wrap my head around the civil war quest scripts and the best resource i could find for pulling it off (found here) is for fallout 4 (and when I tried following it it didn't work, unfortunately)

 

I was wondering if anyone could give me some step by step instructions for using the default counter scripts to advance a quest? I'm very much a newbie to quest scripting.

Link to comment
Share on other sites

1) - Create an empty cell and place in it an xMarker.

- Give to the xMarker a unique name.

- Double click the xMarker and add to it in the script section the 'defaultCounter' script.

- In the 'defaultCounter' script's properties check this values and options:

> OnlyOnce

> TargetValue = the number of actors death that will trigger this

> myQuest = add your quest's name

> myStage = add the number of the stage that will be fired


2) - Find in the CK's render window your actors and add to them the 'defaultCounterIncrementOnDeath' default vanilla script.

- Double click each actor you have added the 'defaultCounterIncrementOnDeath' script and in the 'Link Ref' tab Link Ref the actors to the xMarker you created in step "1"


You are done.


NOTES:

- It's not mandatory to create a new empty cell to add the xMarker, you can place it anywhere in the game's world / cells.

But, a good practice is to always have an empty cell in your mod for all of this kind of applications and to avoid incompatibilities by placing an object in the game's world which can be occupied by another mod.

- There was something else I needed to mention, but I forgot what it was with all this writing.

If I get to remember it, I'll come back to this later on.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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