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.