| Blockland Forums > Modification Help |
| Weapon that Changes teams? |
| (1/1) |
| brickybob:
--- Code: ---function ProjectileData::damage(%this,%obj,%col,%fade,%pos,%normal) { kill() -changetoteam2- } --- End code --- 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. |
| aml:
You could look in the Zapt script. When a player is killed he turns into a zombie. |
| brickybob:
--- Quote from: aml on August 28, 2010, 02:32:26 PM ---You could look in the Zapt script. When a player is killed he turns into a zombie. --- End quote --- I mean in the TDM Minigame. |
| Placid:
--- Quote from: brickybob on August 28, 2010, 02:33:38 PM ---I mean in the TDM Minigame. --- End quote --- Look at the swapteam script? |
| Navigation |
| Message Index |