In my map 5 resource structures spawn randomly across it within the region I have created. The region is 5 less than the map border. Yet I constantly get units either not spawning or spawning in the bottom left corner of the map when I set them to spawn in the region. Anyone know wtf I'm doing wrong?
Just a hunch, but are your resource creation and playercount triggers both being called on map initialisation? Because, if so, the order in which you place them is important. The playercount one needs to be higher up in the trigger editor. For safety, you could change the event for the resource one to time elapsed 0.1 sec or something.
I could be wrong, but I thought it was worth suggesting.
That wouldn't really explain the spawning in bottom left thing though. Are UraniumGuarantee and ZergSpawnZone actual links to actual regions, or are they variables that you set in another trigger? And if so, is that trigger running at map initialisation too?
Usually units created (or executing orders) in the lower left corner happens because the target location is invalid. Alex is probably right, if your locations are variables you need to make sure it refers to an existing value when your units are spawned.
Some people don't know that, but triggers in the trigger window are actually loaded (and executed, if their event is "map initialization") in the exact same order they are placed in the triggers window. The same goes for variables (and pretty much anything else), if they are listed below the trigger that refers to them, the trigger will return a default/invalid value because the variables didn't exist at the time the trigger was being executed/checked. The best way to prevent bugs from this is to put all your variables in a folder at the very top of your trigger window, thus making sure no trigger will miss them. In general, always make sure triggers DEFINING variables are placed before triggers USING them.