Difference between revisions of "GetFirstRef"

Jump to navigation Jump to search
1 byte added ,  12:28, 4 December 2007
m
no edit summary
imported>Haama
(Created)
 
imported>Haama
m
Goto 1
endif</pre>
Scans the list of doors in the player's current cell and the surrounding 8 cells.
Scans the list of doors in the player's current cell and the surrounding 8 cells. pDoor is set to an Apple before using GetNextRef because Oblivion doesn't expect the reference of a door, and won't change the variable. So far doors, containers, and magic effects have been found to cause this odd reference variable behaviour, but to be safe always set your reference variable to Apple before using GetNextRef. ▼
 
▲Scans the list of doors in the player's current cell and the surrounding 8 cells. pDoor is set to an Apple before using GetNextRef because Oblivion doesn't expect the reference of a door, and won't change the variable. So far doors, containers, and magic effects have been found to cause this odd reference variable behaviour, but to be safe always set your reference variable to Apple before using GetNextRef.
 
==Notes==
Anonymous user

Navigation menu