Trigger Problem
Apr 11 2009, 12:05 am
By: jkavorski  

Apr 11 2009, 12:05 am jkavorski Post #1



this is my triggger for round one of my map

Trigger("Survivors"){
Conditions:
Switch("night 1", set);

Actions:
Remove Unit("Player 8", "Any unit");
Display Text Message(Always Display, "\x013\x002\x005THE FIRST NIGHT");
Kill Unit("All players", "Terran Civilian");
Remove Unit At Location("Player 8", "Zerg Nydus Canal", All, "wall");
Create Unit("Player 8", "Zerg Zergling", 244, "spawn");
Create Unit("Player 8", "Zerg Hydralisk", 20, "spawn front");
Create Unit("Player 8", "Infested Terran", 10, "initial attack");
Create Unit("Player 8", "Zerg Ultralisk", 3, "initial attack");
Comment("First Night");
}

so for each player in force one its supposed to make 244 lings, 20 hydras, 10 infesteds, and 3 ultras. instead it makes 30 lings. thats it. i dont get it at all but its really not makin sense. i dont have any other triggers that should affect this one. you can download it and try and see if i screwed up anywhere. and try testing it on your comp cuz maybe my scmdraft or starcraft is going screwy. idk

Attachments:
Zombie Invasion.scm
Hits: 5 Size: 103.76kb



None.

Apr 11 2009, 12:58 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Without checking the map I'd say you exceeded the unit limit of 1700 and starcraft can't create any more. You should get a message saying "Cannot create more units"

EDIT:
I just realized something else:
You're probably creating too many units at once. You can only create so many units at one location, regardless how large it is. Starcraft has a set distance in which it creates units around the center of the location. If it can't find a suitable spot within that distance you just get that nasty buzzing error "Cannot Create unit blah at xy coordinate".

In that case you have to make a set of locations (they can be 1x1, as size doesn't matter) a bit apart from each other where you spawn smaller numbers of units.

As a sidenote I just hope you're aware of the fact that each player runs that trigger, so for each player it creates 277 units! 277 * 6 = 1662 units total. That's definitely too close to the unit limit. I recommend not going higher than 1500 enemy units (+ no more than a few units & buildings per player) to avoid unit lag.




Apr 11 2009, 3:48 pm jkavorski Post #3



ill try it but im not getting any cannot create units messages



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Oh_Man, Nekron