Ares1 Posted June 20, 2013 Share Posted June 20, 2013 Yay, more problems... I'm currently working on a script within a quest I'm doing that will change the base actors essential from true to false. his way the base actors id wont be changed and cause compatibility issues. However this command does not seem to be working the alias I set up during the quest does appear to be linking to the base actor though.. Thanks for any help, this is truely baffling. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted June 20, 2013 Share Posted June 20, 2013 Can you show us the script? Might be of help in getting someone to assist. Link to comment Share on other sites More sharing options...
Ares1 Posted June 21, 2013 Author Share Posted June 21, 2013 yeah, sorry posted this when I was running late to be somewhere earlier... Here is the code in my quest menu: Alias_Enthir.GetReference().Enable() Alias_Enthir.GetActorReference().GetActorBase().SetEssential (false) Alias_Enthir.GetActorReference().GetActorBase().SetProtected (true) Alias_Enthir.GetActorRef().MoveToPackageLocation() screenshots as well of the stage and alias: The quest at this point is to run in the background, oh and disregard me using Enthir as a test at the moment :P just getting the script working before getting more complex Link to comment Share on other sites More sharing options...
BotOwned Posted June 21, 2013 Share Posted June 21, 2013 (edited) yeah, sorry posted this when I was running late to be somewhere earlier... Here is the code in my quest menu: Alias_Enthir.GetReference().Enable() Alias_Enthir.GetActorReference().GetActorBase().SetEssential (false) Alias_Enthir.GetActorReference().GetActorBase().SetProtected (true) Alias_Enthir.GetActorRef().MoveToPackageLocation() screenshots as well of the stage and alias: http://forums.nexusmods.com/public/style_images/underground/attachicon.gifCapture.PNG http://forums.nexusmods.com/public/style_images/underground/attachicon.gifCapture1.PNG The quest at this point is to run in the background, oh and disregard me using Enthir as a test at the moment :P just getting the script working before getting more complex SetEssential and SetProtected are ActorBase script commands, Actor References will not be effected by the change until the Actor either re-levels (if a non temporary), or if it's a temporary actor....well it loses the change when it re-levels but the reference won't be effected either way. Quest Alias flags work a bit differently though with the Flags working on the References themselves until they are removed from the alias. So for this to do what you want it to do you will have to either make the changes to the Actor Base before you spawn the actor (Not just enable) or Use the Quest Alias Flags instead. Edited June 21, 2013 by BotOwned Link to comment Share on other sites More sharing options...
Ares1 Posted June 21, 2013 Author Share Posted June 21, 2013 After trying to edit the Enthir alias form in my quest it still doesnt appear to have an effect, I'm also really trying to avoid editing the main actor form just because it'll mark it as edited and cause compatibility issues which I want to avoid when I do get to the actual mods work. My plan is to edit the actor from within the quest or some form of script to avoid this issue. Your other suggestion about using something other than enable what could be done there? Because it doesnt appear that the quest alias forms are going to cooperate with me. Link to comment Share on other sites More sharing options...
Recommended Posts