Staredit Network

Staredit Network -> UMS Assistance -> Mass Triggers
Report, edit, etc...Posted by cop29 on 2005-04-03 at 17:16:30
Is there a way to have every unit mass a target wen a civ gets on the beacon EXCEPT for all the players scvs? Besides have individual triggers for each unit except the scv. i tried using this trigger.
The mass trigger is:

Bring(currentplayer,atleast,1,civilian,mass player 4);
Order(anyunit,anywhere,currentplayer,attack,mass player 4);
preservetrigger();

I tried making another trigger:

Never();
Order(scv,anywhere,currentplayer,attack,mass player 4);
preservetrigger();

It did not work. any ideas?
Report, edit, etc...Posted by chuiu on 2005-04-03 at 17:21:23
Other than make one action per unit? I don't see a way.
Report, edit, etc...Posted by -Azrael666- on 2005-04-03 at 17:28:38
Yeah, as far as I know you need to make an individual action which addresses every unit besides the SCV.
Report, edit, etc...Posted by chuiu on 2005-04-03 at 17:44:35
Sorry, I just remembered I did something like this in another map.

C:
Whatever...
A:
Give all SCV owned by current player to player 12.
Order all men for current player at blah attack to blah2.
Give all SCV owned by player 12 to current player.
Report, edit, etc...Posted by -Azrael666- on 2005-04-03 at 17:48:29
QUOTE(chuiu_os @ Apr 3 2005, 03:44 PM)
C:
Whatever...
A:
Give all SCV owned by current player to player 12.
Order all men for current player at blah attack to blah2.
Give all SCV owned by player 12 to current player.
[right][snapback]179677[/snapback][/right]

And I guess you just hope no one leaves the game who owns SCVs tongue.gif
Report, edit, etc...Posted by chuiu on 2005-04-03 at 17:56:33
I would hope he has triggers to deal with that sort of thing.
Report, edit, etc...Posted by -Azrael666- on 2005-04-03 at 18:25:57
And there's the fact that only one player could be doing this at a time. It seems like it'd not only be easier, but more efficient to make a different action for each unit. Since it's apparently Terran, it'd only be 13 units, and even less than that if you don't want to include Tanks in Siege Mode, Dropships, or Science Vessels.
Report, edit, etc...Posted by chuiu on 2005-04-03 at 18:41:56
It won't matter how many players are doing this. Since the trigger gives them to P12 and back there is no chance for confusion or chance of another trigger getting in the way because they happen one at a time from player 1 to the last.
Report, edit, etc...Posted by terrenblade on 2005-04-03 at 22:59:01
QUOTE(cop29 @ Apr 3 2005, 05:16 PM)
<snip>

Never();
Order(scv,anywhere,currentplayer,attack,mass player 4);
preservetrigger();

It did not work. any ideas?
[right][snapback]179658[/snapback][/right]


This trigger works exactly as advertised, it will never fire.
You should read the help files on the 'never' condition.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-04 at 02:04:12
If you have 5 types units or less just do it out for each unit, if you have it move than that then do it this way.

Ok, if you have a masser on top of the map or bottom or one of the sides where units are not going to be for that whole length then just make a big location, covering everything but the top or bottom or side, and replace the 'Anywhere' in your current trigger to that location.

Example:

Conditions
Bring(currentplayer,atleast,1,civilian,mass player 4);

Actions
Order(anyunit,BottomLocation,currentplayer,attack,player 4);
preservetrigger();

Or if u have it in the center of map or on an edge where its going just make locations wrapping around the location where u have ure massing center in your map, this wont take more than 4 locations, and your triggs will change to this.

Conditions
Bring(currentplayer,atleast,1,civilian,mass player 4);

Actions
Order(anyunit,BottomRight,currentplayer,attack,player 4);
Order(anyunit,BottomLeft,currentplayer,attack,player 4);
Order(anyunit,TopLeft,currentplayer,attack,player 4);
Order(anyunit,TopRight,currentplayer,attack,player 4);
preservetrigger();
Report, edit, etc...Posted by Ultimo on 2005-04-04 at 02:07:23
Couldn't you just order the SCVS back to your home location? It'd be an extra couple of triggers just to do that. That's the eaisest way.
Report, edit, etc...Posted by ShadowBrood on 2005-04-04 at 02:09:55
I'd say use Chu's idea or if you've got the time make each individual unit you want to mass for the massing part.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-04 at 02:13:21
with the triggers that i posted it will work and he could get away with just 1 trigg per person, and only making a few locations which takes miliseconds
Report, edit, etc...Posted by -Azrael666- on 2005-04-04 at 02:13:49
Yeah, either one works fine. I was just saying it seems easier to add an extra 9-12 actions via copying than to have to make an additional trigger to take into account people leaving. It's just personal preference, they'll both work.
Report, edit, etc...Posted by Red2Blue on 2005-04-04 at 02:45:24
Well well, a massing question.

Firstly, you guys didn't help his problem at all (exception of TerrenBlade), instead you guys threw a bunch of triggers in his face and expected him to copy them into his map...



you guys didn't even address the biggest problem in his triggering knowledge... the trigger "NEVER" doesn't do what it sounds like it would do...

The condition "NEVER" was actually a way for map makers to comment their maps, or disable triggers. A "NEVER" condition in a trigger disables the trigger.

heh... I guess it was implied...




Now the problem:
Theres no way to prevent one unit from mass attacking if all units are targeted.
Its best to just select the units to attack singlely, or simply reducing the types of massing units to reduce the amount of actions required in a trigger box.
Report, edit, etc...Posted by LordVodka on 2005-04-04 at 16:42:30
Hey, couldn't you make it so in the same trigger to mass, have the trigger act once, and when the 'Order All units to "whatever" to 'wherever', then, make one that happens just after that that sends all the players scvs to a certain location, like, where their base is or summin'. Wouldn't that work alrigh'?
Report, edit, etc...Posted by -Azrael666- on 2005-04-04 at 16:53:35
He might not want them affected because they're mining, or could be at various points on the map.
Report, edit, etc...Posted by pimpinelephant on 2005-04-04 at 20:46:58
chu's idea should work, if u do that trigger for each human player, it should work, shouldn't it?
Report, edit, etc...Posted by Ultimo on 2005-04-05 at 00:40:53
If they're given to p12, wouldn't they stop mining?
Report, edit, etc...Posted by chuiu on 2005-04-05 at 00:43:48
It sounds like he's making a mass map ... so I doubt that will be a problem.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-05 at 03:03:26
The triggers I have previously stated work and solve his problem without having to make all those triggers, and since no-one seems to think so here is the test map i made with those triggers.


[attachmentid=7385]

Go ahead test it it works.
Report, edit, etc...Posted by in_a_biskit on 2005-04-05 at 09:03:39
QUOTE(chuiu_os @ Apr 5 2005, 03:43 PM)
It sounds like he's making a mass map ... so I doubt that will be a problem.
[right][snapback]180717[/snapback][/right]

I disagree, I don't think he'd have non-fighting scvs in a purely madness map. I would think that it's more likely to be a modified melee map.

QUOTE(PhoenixRajoNight @ Apr 5 2005, 06:03 PM)
The triggers I have previously stated work and solve his problem without having to make all those triggers, and since no-one seems to think so here is the test map i made with those triggers.
[attachmentid=7385]

Go ahead test it it works.
[right][snapback]180742[/snapback][/right]

Phoenix, your triggers show how to get all units except the 'masser' unit to attack. But I don't think that's the problem here. Note that his 'masser' is a civilian, not an scv.
I'm pretty sure that he's asking for a trigger/system of massing such that a player's scvs (which are mixed with his military units) will not be disturbed, whilst all the military units attack.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-05 at 13:49:34
well if he wants to section off his base from the massing area it could work off the same principle, like in tug of war where the base is at the bottom and top of the map
Report, edit, etc...Posted by Ultimo on 2005-04-05 at 20:26:31
Why would you need a mass button in a modifed melee map? That would defeat the point of using micro.
Report, edit, etc...Posted by Voyager7456(MM) on 2005-04-05 at 23:07:11
QUOTE(in_a_biskit @ Apr 5 2005, 07:03 AM)
I disagree, I don't think he'd have non-fighting scvs in a purely madness map.  I would think that it's more likely to be a modified melee map.



Some madness maps (Like McDonalds Tasty Madness) use SCVs to build buildings, as well as units to mass.
Next Page (1)