View Single Post
Old 05-15-2007, 04:38 AM   #5 (permalink)
Taligaro
Dungeon Master
 
Taligaro's Avatar
 
Join Date: Jul 2004
Location: Colorado Springs, CO. USA
Age: 24
Posts: 462
"SC Goto Guy" to the rescue! (Demo map attached if you, or anyone else needs it)

Okay, I've done this one before, but to create units under the Dark Swarm. It works the same way though. Here is what you need, and what you need to do...

(This is for everyone's knowledge as well)

First thing you need is SCMDraft 2 0.6.0 Prerelease 1 so you can do the correct triggers. So download it, install and get into your map.

You need to make a Location labeled "Dark Swarm" or something you can remember. It should be 5x5 or 6x6 normal grid squares.

The triggers you need are as follows...

Player 1 Triggers

You can leave this first one out. I did it only for the demo map I attached.
Code:
CONDITIONS:
Always
ACTIONS:
Set energy points for All Unclean One (Defiler) owned by Player 1 at 'Anywhere' to 100%.
Preserve Trigger.
Code:
CONDITIONS:
Neutral commands at least 1 Dark Swarm.
ACTIONS:
Give All Dark Swarm owned by Neutral at 'Anywhere' to Player 1.
Preserve Trigger.
Code:
CONDITIONS:
Player 1 commands at least 1 Dark Swarm.
ACTIONS:
Center location labeled 'DarkSwarm' on Dark Swarm owned by Player 1 at 'Anywhere'.
Preserve Trigger.
For the trigger below, I suggest you use the Zerg Egg in a location that the Egg will be ALL by itself. Meaning an island, or high ground that nothing can get to. This is done so when the Dark Swarm goes away, the location that is moved onto it goes to a safe place until another Dark Swarm is cast.
Code:
CONDITIONS:
Player 1 commands exactly 0 Dark Swarm.
ACTIONS:
Center location labeled 'DarkSwarm' on Zerg Egg owned by Player 3 at 'Anywhere'.
Preserve Trigger.
Player 2 Triggers

Note on the Wait Trigger: Every 1000 milliseconds = 1 game second. So 5000 milliseconds would be 5 game seconds. (In case you didn't know. Just covering that)
Code:
CONDITIONS:
Current Player brings at least 1 [any unit] to 'DarkSwarm'.
ACTIONS:
Kill All [any unit] for Current Player at 'DarkSwarm'.
Wait for 1000 milliseconds.
Remove all Dark Swarm for Player 1.
Preserve Trigger.
Player 3 Triggers

I use an extra player in every map I make for the "Hyper Trigger", I suggest you do the same. This is just how I do the Hyper. Also, I copy the "Wait Trigger" 61 times, for a total of 62 Waits, then add the Preserve and Comment as the last two. I then COPY this trigger four times for a total of five.
Code:
CONDITIONS:
Always.
ACTIONS:
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Wait for 0 milliseconds.
Preserve Trigger.
Comment: Hyper
Attached Files
File Type: scm DS=DfA.scm (40.2 KB, 1 views)
__________________
Need help with StarCraft and/or SC: Broodwar map making?
I'm the guy you should ask.
I know SC inside and out my friends.


Evil, malice, death, decay,
There really is no better way.
Taligaro is offline   Reply With Quote