So my RPG that I'm working on has a spawn system for both the allied town and the enemy town (kinda like an AoS). A spawn location cycles through each spawn building on each side, and creates units.
The problem is, one of the buildings is never given back, while others are. This is confusing me greatly. Anyone know what might be causing it?
The attached map has ALL of the spawn related triggers in players 4 & 6.
None.
After your buildings are all given back, the "Caliga Spawns" location is still centered on a gateway. The trigger to center them on all the gateways might not run, but if you reset your deaths of Zerg Hive to 1 without moving the "Caliga Spawns" location, it will give back whatever gateway it is centered on anyway.
None.
It's still centered on a gateway? It should be centered on a hatchery. I don't get what you're trying to say.
None.
Basically, your triggers work like this:
Center on a gateway
Spawn at gateway, give gateway to another play
goto next gateway
repeat until no gateways left.
center on hatch
spawn
goto next hatch
repeat
At the end of this cycle, the spawn location will still be centered on a building, since there aren't any actions that move it else where when the spawn cycles are done. Whatever building it is centered on might be the building that is given to the other player. Just a theory, you can check it.
None.
Thanks! That was the problem.
This can be locked now.
None.