Re: Stop CPU from spawning?
1)Find the corresponding lua file like "SkirmishDefense.lua", open it.
2)If you don't want any enemy to be spawned, find "if self.CPUTeam ~= Activity.NOTEAM and self.ESpawnTimer:LeftTillSimMS(self.TimeLeft) <= 0 and MovableMan:GetMOIDCount() <= 210 then", add some code to make it not possible, for example, "self.ESpawnTimer:LeftTillSimMS(self.TimeLeft) > 100 and self.ESpawnTimer:LeftTillSimMS(self.TimeLeft) <= 0" will never come true.
3)Find
Code:
If/elseif self.Difficulty <= GameActivity.zDIFFICULTY then
self:SetTeamFunds(number x, Activity.TEAM_y)
x for the start money, y for the team, z for the difficulty. Just change x as you like.