ItsMods

Full Version: Zombie
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i make it that people turn into zombies like in zem?
That's hell out of the question Troll

You mean switch teams ?
(03-07-2015, 15:47)Nekochan Wrote: [ -> ]That's hell out of the question Troll

You mean switch teams ?

Yea i need to specify my questions a bit more
and that they cant switch back to the team and if they kill someone they get switched to their team
Simply make a flag 'self.isZombie=false;' on Survivor spawn, if survivor gets killed switch flag like 'if( victim.team == "allies" ) victim.isZombie = true;' and force switch his team by 'victim notify("menuresponse", game["menu_team"], "axis" );'.

If zombie tries to change a team ( but you can disable team switching ) then check for isZombie flag and switch team back.

Also. YOU need to specify your questions a bit more.
i am kinda new to modding so where do i ened to put self.iszombie=false