RefMapArrayValidate

From GECK
(Redirected from RefMapValidate)
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Deletes all invalid keys (i.e. of references which no longer exist) from the specified RefMap Array.

Syntax

[help]
(arraySize:int) RefMapArrayValidate arrName:string 

Or:

(arraySize:int) RefMapValidate arrName:string

Example

RefMapArrayValidate "someRefMap"
RefMapValidate "someRefMap" 

Notes

  • The function returns the size (number of elements) of the cleaned array.