Global ObjectReference variable?

Post » Mon Jun 18, 2012 11:42 am

Is it possible to have a global variable that stores an ObjectReference? Or if not have one script listen for two objects events, such as ObjectRef1.OnActivate(Blah), ObjectRef2.OnActivate(Blah)?
User avatar
Kevin Jay
 
Posts: 3431
Joined: Sun Apr 29, 2007 4:29 am

Post » Mon Jun 18, 2012 3:23 pm

I haven't tried this yet, thou this works in OBSE
You can create a new quest. This quest doesnt need to be running. Inside that quest, you create some variables you want to store, but make sure to set them as Property, so other script can access that.
This quest now acts as a database (well, hopefully) :P

Try it, and let us know if it works out
User avatar
Rebecca Dosch
 
Posts: 3453
Joined: Thu Jan 18, 2007 6:39 pm

Post » Mon Jun 18, 2012 7:00 pm

:ohmy: Thanks I will give it a go.
User avatar
OnlyDumazzapplyhere
 
Posts: 3445
Joined: Wed Jan 24, 2007 12:43 am

Post » Mon Jun 18, 2012 6:21 pm

Not sure about how it worked in oblivion but doesn't seem to meet my needs.. :(
User avatar
Lyndsey Bird
 
Posts: 3539
Joined: Sun Oct 22, 2006 2:57 am


Return to V - Skyrim