Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help With Creat Units Trigger
Help With Creat Units Trigger
This topic is locked. You can no longer write replies here.
May 5 2009, 11:53 pm
By: DarkRippa  

May 5 2009, 11:53 pm DarkRippa Post #1



Ok so on my map i have lings spawning always as a starter unit. What i want to happen is when an scv brings a crystal to location "player 1 unload" it stops creation of the lings and starts creating zealots. i get how to always spawn the ling... just don't know how to switch the spawns. any help would be appreciated. Thanks for reading.


---Dark



None.

May 5 2009, 11:58 pm 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

C: Current Player brings at most 0 crystal to "player 1 unload"
A: Create lings

C: Current Player brings at at least 1 crystal to "player 1 unload"
A: Create zealots




May 6 2009, 12:59 am ForTheSwarm Post #3



I think it's more like this.

C: Switch 1 is cleared.
A: Create lings

C: Current Player brings at at least 1 crystal to "player 1 unload"
A: Set Switch 1

C: Switch 1 is set.
A: Create zealots



None.

May 6 2009, 4:40 am LooKe Post #4



NudeRaider's method is much simpler then yours ForTheSwarm. For your you would also have to do:
C: Current Player brings exactly 0 crystal to "Player 1 unload"
A: Clear Switch 1



None.

May 6 2009, 5:33 am Echo Post #5



I think I would use death counters if it was for more than 1 unit.

Condition
Current player brings at least 1 crystal to location A

Action
Move SCV at location A to B
Add 1 to death count of "Cantina or whatever"
Preserve Trigger


This way you can do this

Condition
Player suffers exactly 0 death of Cantina

Action
Create 1 zergling


Condition
Player suffers exactly 1 death of Cantina

Action
Create 1 zealot



Condition
Player suffers exactly 2 death of Cantina

Action
Create 1 marine


etc



None.

May 6 2009, 8:14 am NudeRaider Post #6

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

Why use switches or dcs when you can just check for the crystal? O.o




May 6 2009, 9:03 pm ForTheSwarm Post #7



Quote from NudeRaider
Why use switches or dcs when you can just check for the crystal? O.o

I was assuming it was an "upgrade spawn" type of thing. Norm, Nude's method wouldn't work in the "upgrade spawn" case. If it isn't like that, use Nude's way.



None.

May 6 2009, 10:22 pm NudeRaider Post #8

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

Why wouldn't it work?
Just drop the crystal there. That way you also have a visual representation of your level.




May 6 2009, 10:59 pm Echo Post #9



I was assuming that he wanted to upgrade the units since he said the ling was a "starter unit".



None.

May 6 2009, 11:02 pm xYoshix Post #10



Also, remember to add "Preserve Trigger" to keep the trigger flowing.



None.

May 11 2009, 5:28 am DarkRippa Post #11



thank u bill i used your way and it worked great!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Roy, Moose