I’m trying to make a “Judges vs models” mode to show off skins. I want the judges to be immune to damage but can’t figure out how to stucture the rule. I would cycle the teams so every so often the other team judges the skins.
Assuming you’re using a player variable to determine if the player is a judge or not.
You would do two rules, one checking for that variable being true and setting status “phased out” for 9999 seconds. The second rule would check for the variable being false and clear status “phased out”
Alternatively you could do it in one rule but it’s a bit more expensive for the server. You could just check for the variable being true and set status to “phased out” for 1 second, then have a wait for 1 second, and then a “loop if condition is true” followed by a clear status “phased out”.
… and how would I do the first option exactly? I’m not really that good at stucturing these rules. I can make the host invincible and that’s about it. I know NOTHING about programming rules.
Depends on how you decide who is a jugde. E.g. all players in team 1 are judges, or maybe its “randomly” chosen in all teams?
I’d like to start with everyone in team one for now.
reguła(“Reguła 32”)
{
zdarzenie
{
Ongoing - Each Player;
Team 1;
Wszystkie;
}
działania
{
Set Status(Event Player, Null, Invincible, 9999);
}
}