List of objects in cell

Post » Fri May 04, 2012 3:20 pm

Hi guys,

Is it possible to get the list of all the objects in the current cell and / or in a given range ?

I'm thinking of something like :

- an object that you can activate / deactivate using a key
- when activating, it gives the list of all the objects in the current cell (if interior) or inside a range
- the list is displayed in a message
User avatar
Kate Murrell
 
Posts: 3537
Joined: Mon Oct 16, 2006 4:02 am

Post » Fri May 04, 2012 6:41 am

You could try refwalking with NVSE's GetFirstRef and GetNextRef:

http://fose.silverlock.org/fose_command_doc.html#GetFirstRef

And select the Form Types you want to "walk" through here:

http://fose.silverlock.org/fose_command_doc.html#Form_Type_IDs

That message you mentioned that would tell you what objects are in the cell might be very, very long, though.
User avatar
maria Dwyer
 
Posts: 3422
Joined: Sat Jan 27, 2007 11:24 am

Post » Fri May 04, 2012 1:36 pm

Thank you very much for your answer. GetFirstRef was the thing I was looking for.

I know the message can be very long, I'll see how I can display the information.
User avatar
Charlotte Henderson
 
Posts: 3337
Joined: Wed Oct 11, 2006 12:37 pm


Return to Fallout: New Vegas