Trigger Flame Particles

Hi there.

Im basically trying to get the player to walk through a trigger and when they do it activates the flame particles that surround the area but I don’t even know where to begin. Any help would be much appreciated.

function OnTriggerEnter(other : Collision)
{
particleemitter.emit = true;
}

 this would simply activate the flames when whatever touches the trigger

Where do I assign this? I’ve got a trigger called flames, but the flames themselves are made of an inner core and an outer core it doesn’t seem to be working.