View Full Version : StarForge Trigger
Spied
06-02-2007, 12:28 PM
I'm making a map using StarForge, and I'm still getting used to the new trigger way of doing, so I'm using a guide to help me with the triggers. One trigger that has me baffled is the Bring() trigger. Every time I try to employ it, the Number field has no selections, so if I wanted to say like 0 civilians, then when I put that in, it gives me a no comment trigger or just says it's not even a trigger and gives me a blank trigger. So how exactly do you use the Bring() trigger?
Also, how do I use a trigger to check if any unit BUT a civilian is in a certain spot?
matefkr
06-02-2007, 1:24 PM
I dunno, but i know that you can do everithing with SCMDraft2 and ubecalc (or memcalc5 is better) and Überation.
techmaster
06-02-2007, 4:02 PM
Go with SCMDraft 2 from starcraft.org. Not uberation, That program sucks. Trust me, I know. And, if for some strange reason SCMDraft doesn't work out for you, just make the trigger in the regular staredit, export it somewhere, then import it to your map. But you should avoid uberation like the PLAGUE.
techmaster
06-02-2007, 4:05 PM
Oh, and sorry for the double post, but matefkr, how do I get an animated unit portrait as an avatar? I need the goliath and science vessel.
SilverCrusader
06-02-2007, 4:15 PM
Trigger("Current Player"){
Conditions:
Bring("Current Player", "Terran Marine", "Anywhere", Exactly, 1);
Actions:
Comment("This is a Marine.");
}
Something like this?
matefkr
06-02-2007, 5:31 PM
Oh, and sorry for the double post, but matefkr, how do I get an animated unit portrait as an avatar? I need the goliath and science vessel.
You can edit your posts, instead of posting new.
Get an smk to somthing converter like rad tools i think (you can find at starcraft.org if i remember correctly), and make a gif animation (cut out some frames). You probably need stardraft (couz of it's mpq viewer) or other mpq tool with a good listfile. You can find unit portraits in stardat.mpq and broodat.mpq.
Uberation is only good for protect your maps and using "manually" the death condition and action (set death), and this way you can make some realy intresting single player campaigns (and maybe multiplayer maps too for "i don't care about your Sc.exe version" servers).
coolpotatoes
06-02-2007, 8:25 PM
Also, how do I use a trigger to check if any unit BUT a civilian is in a certain spot?
I don't know exaclty how ur map/triggers are set up but I would do something likie this using 2 triggers together
Condition: Player A Brings Civ to spot X
Action: Set switch Y
Condition: Player A Brings any unit to spot X
Switch Y is not set
Action: w/e u want
ooh, just thought of this, uses only one trigger and no switches
Condition: Player A brings any unit to spot X
Player A commands at most 0 civ in spot X
Action: w/e
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.