actually the enggine is crashing well before the level change....the thing is on calling the event function on impact....

i.e.,

action levelchange
{
my.enable_impact = on;
my.event = change_the_level(); // the problem is here...if we pass parameter
// in this event driven function the engine
// crashes
}