Author
Topic: Effects Help (Read 10107 times)

I'm new to programming, C#, and scripting. I learn fairly fast, however, I need help using the effects in script. Could someone post a simple script of how to call an effect in a script? Something similar to this but using VitaNex effects:

I've been searching for examples of how to do the effects but haven't found any....If someone could refer me to examples or post a simple example of the syntax that would be very helpful....Thanks in advance!

You are awesome Vorspire....I really appreciate you taking the time to answer my trivial question. I am mainly just looking to do things such as adding effects to existing mobiles, items,etc., and possibly enhancing current effects for spells. This gives me a nice starting point to learn how to script this. Thank you very much!

What if I wanted a monster to use one of these visual effects in conjunction with a damage effect. Take Sand Vortex, for example. Its using m.FixedParticles( 0x36B0, 10, 25, 9540, 2413, 0, EffectLayer.Waist ); for the visual.

What if I wanted a monster to use one of these visual effects in conjunction with a damage effect. Take Sand Vortex, for example. Its using m.FixedParticles( 0x36B0, 10, 25, 9540, 2413, 0, EffectLayer.Waist ); for the visual.

You can construct an EffectInfo object for this purpose, but they use the same methods in the Server.Effects class. The convenience of EffectInfo is that you can re-use it multiple times by calling Send() successively.

When it comes to using the explosion effects for dealing damage, it is recommended to provide an effect handler method to be called on each effect in the explosion's queue.