Baramoth2 Posted March 13, 2012 Posted March 13, 2012 (edited) 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 March 13, 2012 by Baramoth2
6Domino6 Posted March 13, 2012 Posted March 13, 2012 (edited) 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 March 13, 2012 by 6Domino6
Baramoth2 Posted March 14, 2012 Author Posted March 14, 2012 On 3/13/2012 at 6:58 PM, 6Domino6 said: 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?
Recommended Posts