Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Newb needs trigger help.
Newb needs trigger help.
Sep 18 2007, 11:32 pm
By: UlmtdAmmo  

Sep 18 2007, 11:32 pm UlmtdAmmo Post #1



Yah, so, i'm new to the map making field for starcraft. I'm using scmdraft and needing a trigger that makes it so an when a infested terran explodes, or gets killed/dies, 2 broodlings spawn in it's place in the same location for the same player. If someone could hep me out, that would be great, and i'll give credit where it's due if I can finish this map.



None.

Sep 19 2007, 12:09 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

This works only with 1 infested.

trigger 1: always center a location on the infested

trigger 2: the player commands exactly 0 infested -> create 2 broodlings in that location

It is not possible to do that if you have multiple infested on the map, so you can have just one.




Sep 19 2007, 2:43 pm JaBoK Post #3



You could use hypertriggers and small locations for each infested and a big location over where the infested terran spawn to create a following location on more than one unit, but it would be prone to glitches, very finnicky and may not work well for your map. That's also a more advanced mapmaking concept, so if your new someone would pretty much have to walk you through it.



None.

Sep 19 2007, 4:10 pm fritfrat Post #4



Like Jabok said, it would be impractical to do it with more than 1 infested per closed off area. Note that if there are 2 separate parts of the map that the infesteds are limited to you could do "bring exactly 0 to area 1-> create 2 broodlings at loc 1" as well as "bring exactly 0 to area 2-> create 2 broodlings at loc 2"



None.

Sep 19 2007, 6:52 pm who Post #5



Yeah, and if you are new to mapmaking, a hypertrigger is a trigger(s) that allows starcraft to fire triggers faster. You need it for this method, because if the location only centers on the infested every two seconds, then it'll create more and more broodlings as it walks.
A hypertrigger works like this (if you make it for a computer, every player gets the hyper):

Conditions:
Always();

Actions:
Wait(0);
Wait(0);
Wait(0);
...
PreserveTrigger();

You should then copy it three or four times.
This method causes wait blocks however, and can slow down other waits in the map.
An alternate method uses death counts, with two different players:

First Player (preferably computer):

Conditions:
First Player has suffered exactly 0 deaths of Mineral Field Type 1 (or other units that won't die)

Actions:
Wait(0);
Set deaths of Mineral Field Type 1 to 1 for First Player
Wait(0);
PreserveTrigger();

Second Player:

Conditions:
First Player has suffered exactly 1 deaths of Mineral Field Type 1

Actions:
Wait(0);
Set deaths of Mineral Field Type 1 to 0 for First Player
Wait(0);
PreserveTrigger();



None.

Sep 19 2007, 11:24 pm fritfrat Post #6



ulmtd, if you add hypers to your map, just do the method where you make a few triggers with lots of waits and a preserve trigger and put them on the bottom of the list for the highest numbered computer. No point in trying to use the second method someone09 listed.

The objective you're trying to obtain would work without hyper triggers.. it'd just happen right when he dies instead of a little delay that you'd have without them.



None.

Sep 20 2007, 8:01 pm who Post #7



well, if you're going to be doing other waits in your map, the 2nd method is more effective. It's not difficult to do anyway.



None.

Sep 22 2007, 3:22 am Falkoner Post #8



Use the bring condition, have a set amount of Infested Terrans, and when it is at a number below the max, give them the units.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Roy, IlyaSnopchenko