Difference between revisions of "IsInList"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Cipscis
m (→‎Notes: This hasn't been tested, but makes perfect sense to me)
Line 12: Line 12:


=='''Notes'''==
=='''Notes'''==
*None at this time
*IsInList can be used as a kind of GetIsBaseObject command.  If the FormList that the reference is checked against contains only one Base Object, then IsInList will return 1 if the base object of the reference is the one used in the list, and 0 if it is not.
 


=='''See Also'''==
=='''See Also'''==

Revision as of 16:31, 22 December 2008

Description

*IsInList This function takes a FormList as a parameter and returns 1 if the reference's base object is a member of the FormList or 0 if it is not.

Syntax

IsInList FormListREF

Examples

IsInList FormList1

Notes

  • IsInList can be used as a kind of GetIsBaseObject command. If the FormList that the reference is checked against contains only one Base Object, then IsInList will return 1 if the base object of the reference is the one used in the list, and 0 if it is not.

See Also

IsWeaponInList

Reference

None provided.