# RemoveEffect

Effects
4.9.5.0 CE
bool
string name Name of the effect without preceding 'Fx'. You can use '*' and '?' wildcards.
object target Target object from which to remove an effect. If 0, the global effects list will be searched.
int index Effect index. If name is given then if there are more effects matching the search mask the one with the given index is refered to. If name is not given then the effect with the correspoding effect number will be changed. For indices it is guaranteed that, in contrast to effect numbers, they start at 0 and count up to the number of effects
bool no_calls If not 0, no Stop calls will be made.
int new_timer New timer interval. If -1, the previous value will be kept. Otherwise, this call will also reset effect time.
Deletes an effect.
See GetEffect for an example. Warning: if an effect is meant to delete itself using this function, only use target and index, not name!
Effects Documentation
AddEffect
ChangeEffect
CheckEffect
GetEffectCount
EffectCall
EffectVar
GetEffect
Sven2
2004-03