Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Spawn system is failing
Spawn system is failing
This topic is locked. You can no longer write replies here.
Feb 21 2009, 3:22 am
By: ForTheSwarm  

Feb 21 2009, 3:22 am ForTheSwarm Post #1



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.

Feb 21 2009, 4:19 am Vrael Post #2



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.

Feb 21 2009, 3:15 pm ForTheSwarm Post #3



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.

Feb 21 2009, 10:25 pm Vrael Post #4



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.

Feb 22 2009, 12:59 am ForTheSwarm Post #5



Thanks! That was the problem.

This can be locked now.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-4-22. : 10:20 pm]
anoeth47 -- Sweet
[2026-4-22. : 7:48 pm]
NudeRaider -- https://staredit.net/381642/ really makes you appreciate (again) how good sc music is.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
Please log in to shout.


Members Online: O)FaRTy1billion[MM], RIVE