RefHasExtraData

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns whether the calling reference has any stored Extra Data owned by:

  • If the function's optional argument is omitted - the parent mod of the calling script. Otherwise
  • The mod whose mod index was specified.

Syntax

[help]
(1/0) reference.RefHasExtraData altModIndex:int

Example

bHasXData = objectRef.RefHasExtraData
iIndex = GetModIndex "SomeOtherMod.esp"
bHasXData = objectRef.RefHasExtraData iIndex

See Also