How to make D.Va die? When being forced ejected out of mech

So I am working in workshop and I want to make D.Va die when she is forced out of the Mech, by damage of course. She’s fine ejecting freely out of the Mech when ulting. I’m just having trouble killing her once she is forced ejected out of the Mech.

rule("Rule 1")
{
	event
	{
		Ongoing - Each Player;
		All;
		D.Va;
	}

	conditions
	{
		Is In Alternate Form(Event Player) == True;
		Is Alive(Event Player) == True;
	}

	actions
	{
		Abort If(Is Using Ultimate(Event Player));
		If(Has Status(Event Player, Unkillable));
			Teleport(Event Player, Event Player + Down * 50);
		Else;
			Kill(Event Player, Null);
		End;
	}
}

The IF statement is only there to make sure she dies while being inside of immortality while loosing her mech.

2 Likes