GetSelfAsInventoryRef
From GECK
A function added by the JIP NVSE Plugin.
Description
When called from the script of an object that is inside a container/inventory, the function will return the object as an Inventory Reference, which may then be used with any of the Inventory Reference Functions scope.
Syntax
(inventoryRef:ref) GetSelfAsInventoryRef
Example
set rSelfInventoryRef to GetSelfAsInventoryRef