Difference between revisions of "IsInList"
Jump to navigation
Jump to search
imported>Cipscis (Removed note after finding out about GetIsID) |
imported>Omzy (redone) |
||
Line 1: | Line 1: | ||
==' | {{Function | ||
|origin = GECK1 | |||
|summary = Checks if the calling reference's base object is contained in the specified [[FormList]]. | |||
|name = IsInList | |||
|returnVal = 0, 1 | |||
|returnType = int | |||
|referenceType = [Object] | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = FormListID | |||
|Type = ref | |||
}} | |||
|example = SamAdamsBeerRef.IsInList AlcoholicDrinks | |||
}} | |||
==Notes== | |||
*Use [[ListGetFormIndex]] to find the index of the form in the [[FormList]]. | |||
==See Also== | |||
*[[ListAddForm]] | |||
*[[ListAddReference]] | |||
*[[ListRemoveForm]] | |||
*[[ListRemoveNthForm]] | |||
*[[ListReplaceForm]] | |||
*[[ListReplaceNthForm]] | |||
*[[ListGetForm]] | |||
*[[ListGetNthForm]] | |||
*[[ListGetFormIndex]] | |||
*[[ListGetcount]] | |||
*[[AddFormToFormList]] | |||
*[[IsWeaponInList]] | |||
[[Category:List Functions]] | |||
[[Category:Functions]] | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] |
Revision as of 08:02, 3 August 2009
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Checks 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
- Use ListGetFormIndex to find the index of the form in the FormList.