fishburger67 Posted September 8, 2014 Posted September 8, 2014 I have this script trying to move Idgrod the younger into a prison cell so she can be freed: SetObjectiveCompleted(110) SetObjectiveDisplayed(120) Actor IdgrodTemp = alias_IdgrodTheYounger.GetReference() as Actor IdgrodTemp.DisableNoWait() ;debug.trace(" Moving " + IdgrodTemp.GetLeveledActorBase().GetName() + " Upstairs") IdgrodTemp.MoveTo(prisonerLocation) IdgrodTemp.EnableNoWait() IdgrodTemp.EvaluatePackage()debug.notification("Moving Idgrod upstairs") This used to be just alias_IdgrodTheYounger.GetReference().MoveTo(prisonerLocation) before I started trying to troubleshoot it and try different things. It works fine on another machine and it has worked on this test machine (and failed as well) in the past. She has an alias with a forced greet package which is active when this script runs. If I travel to Morthal, I get the forced greet. In fact, when I get to morthal, she is running toward me from a very long way off, so I am guesing that she is trying to get to the forced greet spot. Its just that the moveto fails (or seems to as she is moved into a locked room in an ajacent cell). I even modified the forced greet package to be forced greet from sitting in a shackle. Note that the player is in a different cell then the moveto reference when this script runs. Her alias is set as "Allows Reserve", "Allow Reuse in Quest" (although she is only used in this one stage and this one ref). Both of these used to be unchecked. Nothing I have tried makes it work. This is the last issue for me using a bsa test of my mod before I can release it. Can one of you brilliant developers offer yet one more idea as to what to try? Thanks again
fishburger67 Posted September 8, 2014 Author Posted September 8, 2014 Anyone have an idea? Two days on this bug and still not clue.
fishburger67 Posted September 10, 2014 Author Posted September 10, 2014 I worked on this for three days and could find no solution. I took the Actor from the reference alias and printed it to the log. Normally, you get something like [Actor]:003485. In this case, I got [DeadBodyCleanupScript]. Weird. So, instead of messing with this any longer, I created an Idgrod the Younger clone and used the clone instead and delete()d her when the quest was complete. That worked a charm, but I do not like not knowing why this did not work.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.