Page 1 of 1

Help with triggers, i´m stuck

Posted: Thu Jul 03, 2008 4:54 pm
by DaZaRo
hello everyone, i´ve tried in staredit to make a trigger like in mission 8 in zerg broodwar campaign, i mean terran and zerg of the same player. In this map are terran and zerg for player 7 and they both work as individuals.. can someone tell me how to do that?

Re: Help with triggers, i´m stuck

Posted: Thu Jul 03, 2008 11:33 pm
by Revan
Pretty simple. The developers just placed down zerg units for an orange player and terran units for a white computer player. They are allied of course. At the start of the map, using the "Give units to player" action they give the terrans to the orange zerg player. What do you get? A whole bunch of zerg and terran units, under the control of one player.

The only problem is that the computer might not use the additional units if you are using the wrong AI script.

Re: Help with triggers, i´m stuck

Posted: Thu Jul 03, 2008 11:49 pm
by omega20
Or simply use ScmDraft or SCXE. Using these editors there will be no need for any trigger.

This should work if you want use triggers anyway:

PLAYERS:

PLAYER 5: Zerg, Computer
PLAYER 6: Terran, Neutral
PLAYER 7: Terran, Computer
PLAYER 8: Zerg, Neutral

TRIGGER:

Condition: Always
Action: Give all units of player 6 to player 5
Action: Give all units of player 8 to player 7

Re: Help with triggers, i´m stuck

Posted: Fri Jul 04, 2008 1:09 am
by Taeradun
I discovered a trick ages ago to do it in normal staredit

Place terran units, select all, delete, change that player to zerg, undo - terran units come back

totally useless since there's easier ways of doing it, but, yeah

Re: Help with triggers, i´m stuck

Posted: Fri Jul 04, 2008 1:12 am
by omega20
He. I'm also using this method for some of the maps of my campaign... :P

Re: Help with triggers, i´m stuck

Posted: Fri Jul 04, 2008 9:25 am
by Rocco
You could just use SCMDraft and change the color of a player, like if theres a red Terran as player 1 change player 2 to red and make them Zerg.