Workshop melee stun

I’m trying to make it where when a player on a specific team melees someone on the enemy team, the melee will stun the enemy, but I can’t figure it out. Anyone know how to make that?

This will help you:

rule("Rule 1")
{
	event
	{
		Player Dealt Damage;
		Team 1;
		All;
	}

	conditions
	{
		Is Button Held(Event Player, Melee) == True;
	}

	actions
	{
		Set Status(Victim, Null, Stunned, 1);
	}
}

This means if a player on Team 1 deals damage a player on the enemy team with melee, it will stun the victim (the player who took the damage)

3 Likes