Game ending when it shouldn't

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
SamualACarver
Posts: 83
Joined: Thu Dec 13, 2007 10:08 am

Game ending when it shouldn't

Post by SamualACarver »

On the map Dog Fights I am working on for some reason after the "Training" period the game ends, with the Host (I assume always the winner) I have went over the script and can't see any reason for this. I had a version from a couple years ago and it didn't happen then. When it happens is, during "Training" the players have control over the Dogs. After the time runs out for training the players lose control of the Dogs and the Dogs are teleported to their corners. For some reason when they start to teleport the game ends. The player other than the host Dog just dissapears and the game ends. Anyone know what may be causing this?

Thanks
Sam TB
Isolder
Posts: 282
Joined: Mon Oct 19, 2009 11:55 am

Re: Game ending when it shouldn't

Post by Isolder »

I think your issue is that you're taking away control of all the units. Leave an always-controllable unit somewhere that's hidden in the corner or something for each team.
SamualACarver
Posts: 83
Joined: Thu Dec 13, 2007 10:08 am

Re: Game ending when it shouldn't

Post by SamualACarver »

Isolder wrote:I think your issue is that you're taking away control of all the units. Leave an always-controllable unit somewhere that's hidden in the corner or something for each team.
Ok thanks I will try that.

Sam TB
Graydon
Posts: 1605
Joined: Sun Mar 21, 2004 5:10 pm

Re: Game ending when it shouldn't

Post by Graydon »

Or, if you don't teleport all units at once... Basically what's happening I think, is that all units are uncontrollable/and or invisible while they're teleporting. The few moments that all units are invisible counts as all those units being 'dead', and therefore since there's no units on that team left, the other team wins, or the game ends. If, like Isolder suggested, you place a unit in a corner that is never made uncontrollable, OR you port half the units, then as soon as they start showing up you port the second half, that should solve your problem.
Image
Post Reply