public void PlaySound( object trigger )
{
IEntity ent = null;
if ( m_PlaySoundAtTrigger )
ent = trigger as IEntity;
if ( ent == null )
ent = this;
Effects.PlaySound( (ent is Item) ? ((Item)ent).GetWorldLocation() : ent.Location, ent.Map, m_SoundID );
}