Okay, so this will be alot of explaining on what I’m trying to accomplish.
So basically, I have an asym game with an attacker that has a different way of knocking out survivors than the rest.
Instead of using a gadget, they use tagging, which removes the tagged survivor’s health. I want to make it so that they transform survivors into the attacking team when they run out of health, but not the same for other attackers.
So when another attacker knocks out a survivor, it takes them to the spectator team. But when that specific attacker knocks out a survivor, it takes them to the attacking team.
Ok so you have a special attacker who knocks out survivors by tagging them. When this attacker knocks someone out, that survivor switches to the attacker team. But if any other attacker knocks out a survivor, they go to the spectator team instead.
To make this work, you just need to check who knocked out the survivor. If it’s the special tagger, switch their team to attackers. If it’s anyone else, switch them to spectators.
Sorry if this is an odd question, but how exactly would I check?
If you need more info, there’s only one attacker and the rest are survivors. The attacker chooses their “class” at the start of the game (One of the classes is the tagging attacker I was previously talking about)
Check what class you picked at the start of the game. If picked the “tagging” class, then when a survivor’s health hits zero, move them to the attacker team. If it’s any other class, move the survivor to the spectator team.