GetOpenedContainerRef - ANDR PapyrusFunctions

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ANDR_PapyrusFunctions Script

When in the container menu, returns the currently opened container's objectreference. If not in the container menu, returns None.

Syntax[edit | edit source]

ObjectReference Function GetOpenedContainerRef() global native

Examples[edit | edit source]

Debug.Trace("The currently opened container refID is " + ANDR_PapyrusFunctions.GetOpenedContainerRef().GetFormID() + ".")

Parameters[edit | edit source]

None

Return Value[edit | edit source]

When in the container menu, returns the currently opened ObjectReference in the container menu. If not in container menu, returns None.

See Also[edit | edit source]