Difference between revisions of "Talk:Reference Variables"

Jump to navigation Jump to search
6 bytes removed ,  20:58, 27 January 2008
fixing width stuff
imported>DragoonWraith
m (Talk:Variable types: reference variables moved to Talk:Reference Variables)
imported>DragoonWraith
(fixing width stuff)
Line 20: Line 20:
----
----
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>
 
''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.''
 
...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)
...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)


Navigation menu