Page 1 of 1

Effect Lib

Posted: Fri Aug 17, 2012 9:46 am
by Kami
Hello everyone :)
I just saw the Effect library beeing announced so I wondered if we can use it already?
I couldn't find such a lib so I though I would ask you ;D
Thank you.

Posted: Fri Aug 17, 2012 10:36 am
by satoon101
Yes, you can certainly use it:
http://www.sourcepython.com/forums/showthread.php?91-IEffects-library-now-available!!!

Look at my example script in that thread. Also, the arguments for each is listed in order (with the type that each value needs to be passed) at the top of that thread.

Satoon

Posted: Fri Aug 17, 2012 5:18 pm
by MiBShidobu
Speaking of that, would we be able to use IRecipientFilter later in the future to make effects on a per player basis with this library?

Posted: Fri Aug 17, 2012 6:22 pm
by your-name-here
MiBShidobu wrote:Speaking of that, would we be able to use IRecipientFilter later in the future to make effects on a per player basis with this library?

Yeah you can. I wrapped MRecipientFilter (a child of IRecipientFilter) which you can instantiate and add clients to.