Spawning at multiple area troubles.

S

Setherz

Guest
Hello, I'm currently trying to make a map for Brood War and I'm having major issues with triggers. (Not like I was ever truely good at them. :p)

Right now I have it set up that if player 7 controls a X'nel Naga Temple (Or w/e), he spawns 9 units every 25000 milliseconds (1.5 minutes). I haven't timed it with a stopwatch, but it seems to do it's job well enough. However, sometimes it doesn't spawn at all and waits a few minutes, and I'm not sure if it is conflicting with another trigger.

I have a second and third spawn point up for player 7 as well (He has a total of 4 spawns, but I haven't coded the last until the first two work.) As it works now, I have these 3 additional spawns reliant of a few buildings exsisting, such as the Temple, a protoss structure, a Command Center and a barracks. In total, there are 3 barracks, 3 structures, 4 CCs (2 in the middile), and the single temple. These spawns, however, only spawn every 3 minutes for some reason, even though the trigger is nearly identical to that of the spawn at the temple.

The trigger looks like this for the temple:
Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Temple);

CreateUnit(8, Trooper, Temple Spawn, CurrentPlayer);
CreateUnit(1, Leader, Temple Spawn, CurrentPlayer);
SetResources(CurrentPlayer, Add, 1000, Ore);
Wait(90000);
PreserveTrigger();
Comment("Temple Spawn 0");

This is copied from "StarForge".

The trigger for the 2nd spawn looks like this:
Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Temple);
Bring(CurrentPlayer, Exactly, 1, Barracks, Northern Barracks);
Bring(CurrentPlayer, Exactly, 1, Camp, Northern Camp);

CreateUnit(8, Trooper, Northern Camp Spawn, CurrentPlayer);
CreateUnit(1, Leader, Northern Camp Spawn, CurrentPlayer);
Wait(90000);
PreserveTrigger();
Comment("Northern Camp Spawn 0");

This is when both the barracks and their camp exsists.

Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Temple);
Bring(CurrentPlayer, Exactly, 1, Barracks, Northern Barracks);
Bring(CurrentPlayer, Exactly, 0, Camp, Northern Camp);
Bring(CurrentPlayer, Exactly, 1, Gate, Northern Gate);

CreateUnit(8, Trooper, Northern Gate Spawn, CurrentPlayer);
CreateUnit(1, Leader, Northern Gate Spawn, CurrentPlayer);
Wait(90000);
PreserveTrigger();
Comment("Northern Gate Spawn 0");

This is once the camp has been destroyed and the units spawn moves from the camp to the gate.

Accumulate(CurrentPlayer, Exactly, 0, Gas);
Bring(CurrentPlayer, Exactly, 1, Xel'Naga Temple, Senate);
Bring(CurrentPlayer, Exactly, 1, Barracks, Northern Barracks);
Bring(CurrentPlayer, Exactly, 0, Camp, Northern Camp);
Bring(CurrentPlayer, Exactly, 0, Gate, Northern Gate);

CreateUnit(8, Trooper, Northern Barracks Spawn, CurrentPlayer);
CreateUnit(1, Leader, Northern Barracks Spawn, CurrentPlayer);
Wait(90000);
PreserveTrigger();
Comment("Northern Barracks Spawn 0");

And this is when both the gate and the camp have been destroyed, and the barracks is the source of the spawn. The last 3 I posted were effecting 1 spawn point, but moving it as areas were destroyed, hence the requirements, and each one is a separate trigger. Switches may be helpful here, but I've never been good at using them.

If anyone can help, I would be very grateful. And just in case I have any further issues, player 1 has 10 camps total and will spawn roughly 7 units at each, though once his camps are destroyed, he will not have any gate or barracks to rely on to continue spawning that specific area's units. He also has a temple of sorts where his main units spawn, but I have not worked on player 1 as of yet, due to the error of player 7. Thanks for any help you give.
 
Wow, for a site completely about helping others, you guys sure lack on that department, don't you? I mean heck, even an "I don't know about your problem" would be acceptable! Come ON people!
 
Seth_Keta said:
Wow, for a site completely about helping others, you guys sure lack on that department, don't you? I mean heck, even an "I don't know about your problem" would be acceptable! Come ON people!

This is a Staredit question. Not too many people in this community make Starcraft maps anymore, since the Warcraft III editor is a huge amount better. So don't be surprised if it takes time for an answer to a Staredit quesiton.

But on the bright side, at least your topic probably won't fall off the first page.
 
Seth_Keta said:
Wow, for a site completely about helping others, you guys sure lack on that department, don't you? I mean heck, even an "I don't know about your problem" would be acceptable! Come ON people!
In case you haven't noticed (although I think you have), these forums are pretty inactive. I can try to help you, but... (read what I tell sergo please, or skip to the bottom of this post).

Sergo: although I don't know what how many warcraft maps are out there right now since I don't own a legal copy of warcraft, I know a LOT of starcraft maps are still being made. I also know there are forums that have something to do with starcraft and they have 3,000+ members. Although I have all but quit playing starcraft, I can tell you that www.staredit.net is the best place to ask for help with making starcraft maps. There is at least 20 people active in the map making assistance forum on there. Unless you are spamming, it is very unusual for it to take more than 24 hours for your questions about making starcraft maps to be answered.



Whoever you are that was asking for help: register yourself on www.staredit.net , enter the map making assitance forum, and then ask for help there. I can garent that someone will respond to your post within 24 hours.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Today I had to scramble, I didn't work most of dinner service and no one told me shit. They had a rough few hours lol
  • Varine Varine:
    I have two salmon, Sockeye and Atlantic. Atlantic is used for the kids salmon and the salmon and beet salad, and can also be added onto any dish or just as a side. Atlantic salmon will almost exclusively ever be FARMED, as it is endangered in the wild, and we ALWAYS cut them to 4 ounces.
  • Varine Varine:
    SOCKEYE salmon, very different and this IS wild caught. We have an ENTREE version, and an add on version. The entree is 7 ounces, the add on is 4. Why? Because that is how someone that wasn't me set up the computer.
  • Varine Varine:
    I had to have this conversation like ten fucking times tonight
  • Varine Varine:
    The issue being, I came into work and had none of this whatsoever
  • Varine Varine:
    No one told me shit
  • Varine Varine:
    So, taking into consideration that what I typed out up there is kind of some fucking nonsense that under normal circumstances no one really needs to fucking be able to explain in any rational way
  • Varine Varine:
    Let alone trying to figure it out from a wildly stressed out me that is also on a phone call trying to get something to show up from Seattle tomorrow while trying to explain this salmon situation, that also is barely solved in maybe a few hours and and but I am bulking it with a few steelhead filets I have and that is a WHOLE fucking different thing to the 19 year old server that got put on day shift C crew that doesn't know who I am.
  • Varine Varine:
    I did however really want days. I like getting off at 4 half the time, and that makes it worth it!
  • Varine Varine:
    Also I hate my job right now but I think that was the hard part. Now it's just work
  • Varine Varine:
    @jonas I'm sorry? I don't know what you're referring to.
  • Varine Varine:
    Once we hit winter I feel like I get to back to having a pretty cool job. Like I bitch about it all the time, but it's work. I'm still gonna bitch
  • Varine Varine:
    All in all though I think this summer is going really well. Some complicated things, but at the end of the day it isn't THAT big of a deal. Not all of our servers have quite realized they are technically sales
  • Varine Varine:
    Like yeah it is a substitute, but FOMO. Chef isn't getting this again this year, he has to figure it out, so it's slightly off on the menu, but that is more or less the LOWEST quality and price. Right now, steelhead is a real stealhear, right?
  • Varine Varine:
    Like fuck off even I can do it
  • Varine Varine:
    I am going to get one of my servers to do that in her server voice and you'll see my point
  • Varine Varine:
    Maybe the bartender. Idk, it's one of my favorite things to hear them go from calm to customer service voice. They will translate it to like "The chef is trying to change that a bit right now so he does have a Alaskan river steelhead. Yeah like the one you might fish probably!" And then the girls can bat their eyes and do pretty girl server shit
  • Varine Varine:
    At least that's how imagine some of them. Did you know mayonnaise is dairy free? A suprisingly amount of people don't\
  • The Helper The Helper:
    mayo is eggs right?
  • The Helper The Helper:
    Seems I never watched the Witcher - looks like i have a lot of content
  • The Helper The Helper:
    Season 1 Episode 8 the marathon continues...
  • jonas jonas:
    mayo is eggs & oil
    +1
  • The Helper The Helper:
    I got halfway season 2 on The Witcher and it lost me. I am going to have to pick this one up again later.
  • jonas jonas:
    season 2 is with the new actor right? it's so far below the first one
  • The Helper The Helper:
    first season was good the 2nd season is bleh I hope I can make it through it for 3

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top