Example #1
0
        public static void CreateSoundEffect( int x, int y, int z, int sound, int range )
        {
            if ( FindEffectController( x, y, z ) )
                return;

            EffectController item = new EffectController();
            item.SoundID = sound;
            item.TriggerType = EffectTriggerType.InRange;
            item.TriggerRange = range;

            item.MoveToWorld( new Point3D( x, y, z ), Map.Felucca );
            m_Count++;
        }