Coisox gave me this a while ago:
Code:
ENTITY* Bullet;
ENTITY* Enemy;

function BeingHit()
{
	switch (event_type)
	{
		case EVENT_ENTITY:
			if (you == Bullet)
			{
				// enemy dead
			}
			return;
	}
}

function main()
{
	//bla.. bla.. bla..
	
	Bullet = ent_create(bla.. bla..);
	Enemy = ent_create(bla.. bla..);
	Enemy.emask |= (ENABLE_ENTITY);
	Enemy.event = BeingHit;
}


Perhaps you can use it..


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<