Author Topic: Weapon that Changes teams?  (Read 345 times)

Code: [Select]
function ProjectileData::damage(%this,%obj,%col,%fade,%pos,%normal)
{
kill()
-changetoteam2-
}

Okay, so I'm remaking my Quarantine Mod, but this time with infections (so if someone gets hit they instantly become a zombie (I'll make it countdown later).

So, how do I get the victim to change to team number 2?  Or does it go by name?  Either way I have no clue about changing teams in a script.  Help please?

Also the Projectile:Damage thing was copy-pasta'd off of Badspot's topic.

You could look in the Zapt script.
When a player is killed he turns into a zombie.

You could look in the Zapt script.
When a player is killed he turns into a zombie.
I mean in the TDM Minigame.