0 Members and 1 Guest are viewing this topic.
Code: [Select]PlayerTeamShould beCode: [Select]PlayerTeam()...Yay, the joys of coding...
PlayerTeam
PlayerTeam()
#include "zcommon.acs"script 1 ENTER{Teleport(PlayerTeam() + 100, 1, 0);Teleport(PlayerTeam() + 101, 2, 0);}script 2 RESPAWN{Teleport(PlayerTeam() + 100, 1, 0);Teleport(PlayerTeam() + 101, 2, 0);}
#include "zcommon.acs"script 1 ENTER{if (PlayerTeam() == 0);{Teleport_Nofog(Random(1,16));}if (PlayerTeam() == 1);{Teleport_Nofog(Random(17,32));}}script 2 RESPAWN{ACS_ExecuteAlways(1,0);}
1. Make 32 Teleport Destination things outside the map.2. Go and tag these things 1-32. Put 1-16 on the Dr Light side. Put 17-32 on the other. Keep the player deathmatch starts. Drag the teleport destinations to the same location as the deathmatch starts.3. Insert this script.Code: [Select]#include "zcommon.acs"script 1 ENTER{if (PlayerTeam() == 0);{Teleport_Nofog(Random(1,16));}if (PlayerTeam() == 1);{Teleport_Nofog(Random(17,32));}}script 2 RESPAWN{ACS_ExecuteAlways(1,0);}Also do not leave spaces in your wad names. It makes people using doomseeker unable to join.
You can also change the LMS rotation if you really want to.
#include "zcommon.acs"script 1 OPEN{ConsoleCommand("SV_UseTeamStartsindm 1");}