Hey,
When I freeze an enemy with crouch + primary fire I don’t want them to use teleport which is under F key (interact). Do I have to loop the disallow button or not? It doesn’t work and players can still use teleport and click F.
in the teleport condition check that they arent frozen
3 Likes
Something like this
rule("Teleport only when not cc'd")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Interact) == True;
Has Status(Event Player, Frozen) == False;
}
actions
{
Teleport(Event Player, Vector(0, 0, 0));
}
}
You could add more “has status” in the conditions if you want to make it so stuns, knockdowns, roots, sleeps doesn’t allow to tp
i think he is talking about firendly servers where f is to blink (like tracer) and the owner is a god that can freeze ppl
Yes, just add the “Has Status(Event Player, Frozen) == False” to the original script