Objectreference from Alias or book in Script

Post » Thu Jun 21, 2012 5:53 pm

I use the follow code

alias_Letter.ForceRefTo(Marker.PlaceAtMe(Letter))

How can I assign the same letter placed at the marker as an objectreference else where in the script ?
User avatar
alyssa ALYSSA
 
Posts: 3382
Joined: Mon Sep 25, 2006 8:36 pm

Post » Thu Jun 21, 2012 11:56 am

alias_Letter.GetReference()
User avatar
Taylor Thompson
 
Posts: 3350
Joined: Fri Nov 16, 2007 5:19 am

Post » Thu Jun 21, 2012 5:48 pm

what exactly are you trying to do?

you want to fill the alias in your quest by generating a placeatme letter object?


you could do this:

ObjectReference LetterRef = Marker.PlaceatMe(Letter)alias_Letter.ForceRefTo(LetterRef)
User avatar
Facebook me
 
Posts: 3442
Joined: Wed Nov 08, 2006 8:05 am

Post » Thu Jun 21, 2012 11:26 pm

Thanks Guys Had programmers Block... Been debugging a scene that no longer works after upgrade... :(
User avatar
Georgia Fullalove
 
Posts: 3390
Joined: Mon Nov 06, 2006 11:48 pm


Return to V - Skyrim