Quest alias not filling

Post » Wed Jan 08, 2014 7:12 am

I am trying to let my follower unlock an object when I press a certain key. To achieve that I created 2 aliases in a quest and set them empty and optional. The alias for the actor gives the actor a package which says the actor to go to the locked object to make it look like she actually unlocked it. The alias for the object is working as intended as the door or chest always gets unlocked correctly. So it is indeed filling. But the alias for the actor is not filling as my follower is never going to the locked object (using the package).
The relevant script part:
Scriptname FeyriaLockpickingScript extends Quest   [...]ReferenceAlias Property FeyriaLockpickObjectAlias autoReferenceAlias Property FeyriaLockpickActorAlias auto Event OnInit()RegisterForCrosshairRef()EndEvent Event OnCrosshairRefChange(ObjectReference ref)If refFeyriaLockpickObjectAlias.ForceRefTo(ref)EndIfEndEvent Event OnKeyDown(int KeyCode)[...]FeyriaLockpickActorAlias.ForceRefTo(FeyriaTywele)FeyriaTywele.EvaluatePackage()FeyriaLockpickObjectAlias.GetReference().lock(false)FeyriaLockpickObjectAlias.Clear()FeyriaTywele.RemoveItem(Lockpick)FeyriaLockpickingSuccessMessage.Show()[...]EndEvent 
The package onEnd script fragment:
FeyriaLockpickActorAlias.Clear()FeyriaTywele.EvaluatePackage()
Screenshot of the Actor alias: http://i.imgur.com/MFeYYm6.jpg
Screenshot of the package: http://i.imgur.com/0DlI0Rx.jpg
I hope someone can help me here.
User avatar
Matt Terry
 
Posts: 3453
Joined: Sun May 13, 2007 10:58 am

Post » Wed Jan 08, 2014 7:58 am

You may need to tick Allow Reserved.

Go to the alias tab, select your alias, and then I think you press CTRL+R or SHIFT+R, something like that. It should then tick that box. Let me know if that works.
User avatar
Melanie
 
Posts: 3448
Joined: Tue Dec 26, 2006 4:54 pm


Return to V - Skyrim