Since engine version: 1.0 OC
Deletes an effect.
bool RemoveEffect(string name, object target, proplist effect, bool no_calls);
- [opt] Name of the effect without preceding 'Fx'. You can use '*' and '?' wildcards.
- [opt] Target object from which to remove an effect. If
nil, the global effects list will be searched.
- [opt] The effect. Instead to search by name, the effect can be directly removed if this parameter is given.
- [opt] If not
false, no Stop calls will be made.
See GetEffect for an example. Warning: if an effect is meant to delete itself using this function, only use effect, not name!