Difference between revisions of "Reference Variables"
uninitialized reference variables in quest-scripts
imported>JOG (Clarified persistent-stuff, commented Jduvall's caveats and moved them to Discussion.) |
imported>JOG (uninitialized reference variables in quest-scripts) |
||
|
</pre>
You can use a reference variable anywhere you could use an [[Object_reference|object reference]]. Uninitialized reference variables act as if they referred to the scripted object or quest itself; otherwise a reference variable acts just like any other reference.
A reference variable whose object is not in memory (such as a static object after the player leaves that object's cell) is treated as uninitialized.
| |||