List Find Component ![code/modules/wiremod/components/list/list_find.dm 6](git.png)
Finds an element in a list and returns the index.
Vars | |
found | Signal to say we have found the element. |
---|---|
index | Index of the element if found. |
list_to_check | List to check |
list_type | The list type we're checking |
not_found | Signal to say we haven't found the element. |
result | Result of the search |
to_check | Element to check |
Var Details
found ![code/modules/wiremod/components/list/list_find.dm 20](git.png)
Signal to say we have found the element.
index ![code/modules/wiremod/components/list/list_find.dm 26](git.png)
Index of the element if found.
list_to_check ![code/modules/wiremod/components/list/list_find.dm 15](git.png)
List to check
list_type ![code/modules/wiremod/components/list/list_find.dm 12](git.png)
The list type we're checking
not_found ![code/modules/wiremod/components/list/list_find.dm 22](git.png)
Signal to say we haven't found the element.
result ![code/modules/wiremod/components/list/list_find.dm 24](git.png)
Result of the search
to_check ![code/modules/wiremod/components/list/list_find.dm 17](git.png)
Element to check