Difference between revisions of "Reference Variables"
stronger inventory reference warning
imported>DragoonWraith (this needs to be updated a la the Terminology Discussion) |
imported>Dev akm (stronger inventory reference warning) |
||
|
end
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 (i.e., items that an actor is carrying). This means that scripted functions which require a reference, such as:
pms ghosteffect
will only work on an item when it is not in inventory.
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.
Do so at your own risk...
| |||