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.
[08:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[08:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[04:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
Please log in to shout.


Members Online: maleahecortez, Roy, DiearAnother