IWantMyMod Posted April 8, 2018 Posted April 8, 2018 What is the easiest way to check for an item in the FormList? Do I need to integrate over the list and check each item or is there a simpler way?
0 zilav Posted April 8, 2018 Posted April 8, 2018 Yes, you need to iterate over an array's elements and do appropriate comparison. Since arrays in xEdit can contain elements of any types (like simple record links in FLST and keywords, or structures of elements in conditions CTDA list), there is no "IndexOf" or similar function.
Question
IWantMyMod
What is the easiest way to check for an item in the FormList?
Do I need to integrate over the list and check each item or is there a simpler way?
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now