Catching effects
There is 2 ways to catch an effect on the player...
- 1st one as above is to scan "EffectList = LocalPlayer:GetEffects();" at regular intervals (ie: onTimer or on Refresh )
- 2nd, I'd say a cleaner way is to catch events AddCallback(EffectList, "EffectAdded", MyEffectChangedCallback); and "EffectRemoved"
Last edited by Snoopy81 : 07-31-2012 at 03:44 AM.
|