Page 1 of 1

How Do I Make My Team 3 Spawn From their own command post

Posted: Thu Apr 09, 2015 7:20 pm
by Lorul1
the title basically explains it.

Re: How Do I Make My Team 3 Spawn From their own command pos

Posted: Thu Apr 09, 2015 7:27 pm
by AnthonyBF2
Well, make the CP's Team value 3, then in your script add this;

Code: Select all

	ReadDataFile("SIDE\\gam.lvl",
		"gam_inf_gamorreanguard")
	SetTeamName(3, "locals")
	AddUnitClass(3, "gam_inf_gamorreanguard",3)
	SetUnitCount(3, 2)
	SetTeamAsEnemy(3, ATT)
	SetTeamAsEnemy(3, DEF) 
	SetTeamAsEnemy(ATT, 3)
	SetTeamAsEnemy(DEF, 3)
	AddAIGoal(3,"Deathmatch",100)
Replace Gamorreans with your troops. This has never failed me.