Difference between revisions of "Talk:Reference Variables"

Jump to navigation Jump to search
36 bytes added ,  23:24, 19 July 2006
no edit summary
imported>Scruggs
imported>Scruggs
Line 21: Line 21:
Looking at this description from the article:
Looking at this description from the article:
<pre>Keep in mind, that References to non-persistent objects aren't accessible when the object is not in memory (i.e. in another cell) The same applies to inventory items that are currently within a container. Trying to access a non-accessible reference might have no effect at all, but it's equally probable that it will crash the game. While there are safeguards in the CS to prevent you from accessing such references directly, you can bypass them by using reference-variables. </pre>
<pre>Keep in mind, that References to non-persistent objects aren't accessible when the object is not in memory (i.e. in another cell) The same applies to inventory items that are currently within a container. Trying to access a non-accessible reference might have no effect at all, but it's equally probable that it will crash the game. While there are safeguards in the CS to prevent you from accessing such references directly, you can bypass them by using reference-variables. </pre>
...If I'm understanding that right, a variable that stores a reference to a non-persistent object is valid as long as the cell is loaded, even after the cell has been reset or a savegame is loaded? [[User:Scruggs|Scruggs]] 00:23, 20 July 2006 (EDT)
...If I'm understanding that right, a variable that stores a reference to a non-persistent object (such as one created via placeAtMe) is valid as long as the cell is loaded, even after the cell has been reset or a savegame is loaded? [[User:Scruggs|Scruggs]] 00:23, 20 July 2006 (EDT)
Anonymous user

Navigation menu