Jump to content

Script: How to set an item to drop on death for alias


Baramoth2

Recommended Posts

Hi , I'm trying to have my alias actor drop an item upon death. I do not want it to appear in his inventory until he is dead however.

 

I do have a condition script for his death, I just need the line of code to state: Add (item) to inventory. I guess he would be a corpse, so perhaps I need to specify him as a container?

 

Anywho thanks for your input in advance :).

 

 

PS- If somebody could also tell me the script to toggle an npc essential marker, that would be great too :).

Edited by Baramoth2
Link to comment
Share on other sites

http://www.creationkit.com/Bethesda_Tutorial_Quest_Loose_Ends#Out_of_Order

 

This references what you are trying to do and presents several alternatives.

 

As for toggling essential you would need to have a http://www.creationkit.com/SetEssential_-_ActorBase script with something that would clear it like if the player is on a certain quest stage etc.

Edited by 6Domino6
Link to comment
Share on other sites

http://www.creationkit.com/Bethesda_Tutorial_Quest_Loose_Ends#Out_of_Order

 

This references what you are trying to do and presents several alternatives.

 

As for toggling essential you would need to have a http://www.creationkit.com/SetEssential_-_ActorBase script with something that would clear it like if the player is on a certain quest stage etc.

 

 

 

Hmm well it seems that your first tip helped ( I read the tutorial last night...maybe I was tired ;p).

 

I still have a question on how to use the baseactorproperty.SetEssential(). Do I add in my actors base value like so :

 

GrathendalTrethnyl.SetEssential()

 

or do I use the alias?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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