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.
[06:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: eksxo, MetalGear