scripting: are there SetLinkedRef, SetParentRef, SetScriptVa

Post » Tue Nov 29, 2011 11:34 pm

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
Nicole Kraus
 
Posts: 3432
Joined: Sat Apr 14, 2007 11:34 pm

Post » Wed Nov 30, 2011 7:31 am

You can't directly access variables on non-persistent references, unfortunately.
User avatar
ijohnnny
 
Posts: 3412
Joined: Sun Oct 22, 2006 12:15 am

Post » Wed Nov 30, 2011 2:37 pm

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
NAkeshIa BENNETT
 
Posts: 3519
Joined: Fri Jun 16, 2006 12:23 pm


Return to Fallout: New Vegas