# EffectVar

Effects
4.9.5.0 CE
&
int index Index of the variable. Theoretically, any number of variables can be used. As, however, any newly accessed variable has to internally allocated first, you should only use as many variables as really necessary.
object target Target object of the effect the of which you want to access variables. 0 for global effects.
int number Effect number. Effect numbers are passed to effect callback functions, they are the return values of AddEffect and can be determined from an effect name via GetEffect.
Returns a reference to an effect local variable. This reference can be used to read or write values.
For examples and more information see the effects documentation.
Effects Documentation
AddEffect
ChangeEffect
CheckEffect
GetEffectCount
EffectCall
GetEffect
RemoveEffect
Sven2
2004-03