Difference between revisions of "GetFirstRef"

Jump to navigation Jump to search
105 bytes added ,  13:07, 8 January 2009
imported>Shademe
(Note added : Nature of 1st ref.)
imported>DragoonWraith
==Notes==
*The first reference can change (deleted or moved) by the next frame so this function should always be used first, and only with a Label/Goto loop and GetNextRef.
** The order of references as returned by GetFirst/NextRef is essentially undefined. It is not guaranteed that it will remain the same from one frame to the next. As stated above, a loop should be used each time. ''Usually'', however, the first ref is the most recently placed one. It is altogether unwise to rely on this, however.▼
*The syntax and function has changed between v13 and v14:
**The includeInactiveRefs flag was added.
**In v13, inactive references were included (as if the flag was set to 1). This would include items that have been picked up and are no longer in the world.
▲* The order of references as returned by GetFirst/NextRef is essentially undefined. It is not guaranteed that it will remain the same from one frame to the next. Usually, however, the first ref is the most recently placed one.
 
==Form Type IDs==

Navigation menu