# CheckEffect

Effects
5.1 OC
int
string name Name of the effect without prepended 'Fx'.
object target Target object of the effects to be notified. If `nil`, the global effects are notified.
int priority Effect priority. Calls are made to all effects of equal or higher priority. If unspecified or 0, all effects are notified.
int timer Interval for the timer calls. With `nil`, no timer calls are made and the effect stays on permanently until it is deleted by other calls.
any var1 First extra parameter to be passed to the effect callback.
any var2 Second extra parameter to be passed to the effect callback.
any var3 Third extra parameter to be passed to the effect callback.
any var4 Fourth extra parameter to be passed to the effect callback.
Makes Fx*Effect (and in cases Fx*Add) callbacks to the specified list of effects, without actually creating any effect. The return value is -1 if another effect has rejected the call. If an effect accepts the call, the return value is the effect number of that effect.
For examples and more information see the effects documentation.
Effects Documentation
AddEffect
GetEffectCount
EffectCall
GetEffect
RemoveEffect
Sven2
2004-03