scripting: are there SetLinkedRef, SetParentRef, SetScriptVa

Post » Mon Jan 03, 2011 9:34 am

I'm trying to set link/parent ref of script variables on a reference variable (and not direct reference.)

For example for GetScriptVariable, trying to do something like
ref rTargetshort sVar...set rTarget to GetLinkedRefset sVar to rTarget.sSomeVar ; invalid in geck


for SetLinkedRef and SetParentRef, basically looking for ways to set these references via script (e.g. dynamically creating a door and linking a switch to it using script)

would be very grateful if anybody can help me with anything related to the above.
User avatar
dell
 
Posts: 3452
Joined: Sat Mar 24, 2007 2:58 am

Post » Mon Jan 03, 2011 10:29 am

You can't directly access variables on non-persistent references, unfortunately.
User avatar
Crystal Clarke
 
Posts: 3410
Joined: Mon Dec 11, 2006 5:55 am

Post » Mon Jan 03, 2011 7:45 am

Is there even ways to set linked ref or parent ref on persistent references? I can't find related functions in geck nor script extender.
User avatar
casey macmillan
 
Posts: 3474
Joined: Fri Feb 09, 2007 7:37 pm


Return to Fallout: New Vegas