Code:
function HandleEventImpact()
{
	if (event_type == EVENT_IMPACT)
	{		
		my.skill1 = 1;
	}
}

action actWaterBottles()
{
	my.emask |= ENABLE_IMPACT;
	my.event = HandleEventImpact;

	while(my.skill1 == 0) { wait(1); }
	ptr_remove(my);
}


there, that should work.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/