Jump to content

[LE] SetEssential command is useless


masternoxx

Recommended Posts

I used this command many times with success. Make sure you're setting it on an actor base property and not an actor. It's works every time without fail.

It is further complicated by Ennis being in a quest Alias at the time,

but yeah I found something under properties that wasn't right see below post.

hard to find because I didn't put it there,

 

It seems like the code basically says the same thing,

but it doesn't work without all these properties set in the right click properties dialog

Ennis.GetActorBase().SetEssential(false) command is directly from creationkit.com webpage.

But apparently it compiles but does not work.

correct way is to set the actorbase property in properties,

then you type in name.SetEssential(false)

 

I maybe speaking too soon tho because I havent tested it.

Unfortunately I overwrote the savegame which was right before talking to Ennis, a while ago.

Have to try it on the next plot NPC I want to kill...

Edited by masternoxx
Link to comment
Share on other sites

 

The stage to make her non essential is set when Season Unending(MQ302) is completed, which is Stage 350. The stage being set is stage 50, but that is then called from stage 40 in the main quest (MQ301).

 

In anycase:

; MQ302 completed
SetObjectiveCompleted(25)
SetObjectiveDisplayed(30)

if MQ302.IsRunning()
    SetActive(true)
    MQ302.SetActive(false)
endif
; Blades now go directly to kill Paarthurnax dialogue if not there already
MQPaarthurnax.SetStage(15)
MQDisableClutter.Disable()
; make Elenwen unessential
Elenwen.SetEssential(false)

 

Elenwen is actually not only the name of the base actor, but also the name of the quest alias, not good coding practice by Bethesda...

 

So when I tried this it wont compile...

Ennis.SetEssential(false)

 

Starting 1 compile threads for 1 files...

Compiling "QF_DA14_0001BB9B"...

C:\SkyrimLE\Data\Scripts\Source\temp\QF_DA14_0001BB9B.psc(347,6): SetEssential is not a function or does not exist

No output generated for QF_DA14_0001BB9B, compilation failed.

 

 

Okay it turned out at teh end of the quest script there was this: (from bethesda not me) (not defined properly)

Actor Property Ennis Auto

 

i changed it to this, (because it won't allow two Ennis definitions)

ActorBase Property Ennis Auto

 

now Ennis.SetEssential(false) will compile,

hoping it works.

crossing fingers.

SIGH

Link to comment
Share on other sites

  • Recently Browsing   0 members

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