GetLoadedTypeArray

From GECK
Jump to: navigation, search


A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.

Description

Similar to GetLoadedType, but returns an array (rather than a FormList) filled with every form of the given Form Type ID from all loaded plugins.

Optional Index parameter: Passing a value for the 'index' parameter loads only forms from the plugin at that mod index (default: -1 for all plugins).

Syntax

[help]
(array) GetLoadedTypeArray typeID:int index:int 

Or:

(array) GLTA typeID:int index:int

Example

let arrItems := GLTA 24

Returns armors from all loaded plugins

Example

let arrItems := GLTA 40 0

Returns weapons from mod index 0 (should be FalloutNV.esm)

Notes

  • When called with typeID = 57 (Cells), returns only interior cells.

See Also