IsInList

From GECK

A function included in the GECK version 1.1.0.36.

Description

Returns True (1) if the calling reference's base object is contained in the specified FormList.

Syntax

(0, 1:int) [Object].IsInList FormListID:ref

Example

SamAdamsBeerRef.IsInList AlcoholicDrinks

Notes

  • Will return False (0) if the calling reference is contained in the list exactly (reference is itself in form list and not it's base form).
  • Use ListGetFormIndex (FOSE/NVSE) if you need to check if a reference is contained itself in a form list.
  • Or use IsRefInList(NVSE) to match either base objects or references.

See Also

Personal tools