rule(“Rule 1”)
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Meleeing(Event Player) == True;
}
actions
{
Set Status(Event Player, Null, Hacked, 9999);
}
}
How do I apply status, or weakness/ move speed (slowed) to the enemy’s hit, how do I do that?
I want where it hacks or stuns an enemy if they are hit with a melee, but I don’t know how to do it
do something like this.
the rule checks if the event was the player dealing damage, with the player set to All to check that the event player is anyone in the match.
for the conditions, it checks whether the ability that dealt the damage was a specific action. this consists of;
- Melee
- Crouch
- Ability 1
- Ability 2
- Ultimate Ability
- Primary Fire
- Secondary Fire
and probably more.
for the actions, it does exactly what it says. it sets the status of whatever you want to the player that got damaged, while giving credits to the player who melee’d the victim.
thanks because they way, I was doing it was if meleeing, and I could not select the victim without it telling me it won’t not work
1 Like
yeah you have to use the Event category for detecting if a player receives or deals damage if you want it to work. this also works for healing too