Talk:GetFirstRef

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

I believe the function returns the references formID-wise, as it was placed in CS. I have a few posts in the forums concerning the nature of the firestRef. Can anyone confirm it ? -- shademe 03:03, 7 January 2009 (EST)

The order of references as returned by GetFirst/NextRef is essentially undefined. OBSE does not even guarantee that it will remain the same from one frame to the next. Use of loops is necessary with this.
Usually, however, the first ref is the most recently placed one.
Dragoon Wraith TALK 13:46, 7 January 2009 (EST)

That means there are a few corrections to make. And I suppose that's worth being added as a side-note in the article -- shademe 02:32, 8 January 2009 (EST)