GetSelfAsInventoryRef

From GECK
Jump to: navigation, search


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

[help]
(inventoryRef:ref) GetSelfAsInventoryRef

Example

set rSelfInventoryRef to GetSelfAsInventoryRef