Syntax
Lua |
---|
function EffectList:IndexOf(value); |
Parameters
- value
-
Type:
Effect
The effect to get the index of.
Returns
Type: numberThe index of the effect or -1 if it is not in the list.
Remarks
Gets the index of an effect in the list. If the effect is not in the list, -1 will be returned instead.