Getting the ID in the world of a miscobject

Post » Fri Nov 16, 2012 6:26 am

Hello,
I've make a new unique miscobject called mannyObject and then placed near riverwood with "respawn" unticked.

How can I know the reference ID in the world? The GetLinkedRef() did not works with miscObject.

Thank you.
User avatar
Emma Louise Adams
 
Posts: 3527
Joined: Wed Jun 28, 2006 4:15 pm

Post » Fri Nov 16, 2012 5:13 pm

In the objectwindow you can rightclick on an object and select 'UseInfo' to see a list of the world references to the object.
User avatar
Deon Knight
 
Posts: 3363
Joined: Thu Sep 13, 2007 1:44 am

Post » Fri Nov 16, 2012 5:30 pm

Yes, but I need to script this miscObject, so I need the reference by Papyrus
User avatar
Guinevere Wood
 
Posts: 3368
Joined: Mon Dec 04, 2006 3:06 pm

Post » Fri Nov 16, 2012 8:30 pm

Then have a look at the FindClosest... functions, e.g.FindClosestReferenceOfType(); or you might use an alias with a find matching reference filltype.
User avatar
Lisa Robb
 
Posts: 3542
Joined: Mon Nov 27, 2006 9:13 pm

Post » Fri Nov 16, 2012 11:57 am

Allright. I'll try. Thank you
User avatar
BRIANNA
 
Posts: 3438
Joined: Thu Jan 11, 2007 7:51 pm


Return to V - Skyrim