Staredit Network

Staredit Network -> UMS Assistance -> Problem
Report, edit, etc...Posted by Staredit.Net Essence on 2004-06-09 at 15:04:58
I have a problem.
The triggers that don't work look like this:

For "Force 1" (5 humans)
Condition
"Force 1" brings at least 1 men to "location"
Player 8 brings at least 1 building to "location"

Actions
Create 3 zerglins at "location" for player 7 (CP)
Wait 5000 miliseconds
Preserve trigger

... the problem is that in multiplayer games it creates 6 putting if there are 2 players,
or 9 if there are 3... and so on. I don't know how to fix it so it creates 3 zerglings..
I tried puttin it to each player, and then put "current player" instead of forces, but it doesn't work either.

thx
Report, edit, etc...Posted by Pinecone on 2004-06-09 at 17:29:27
What exactly are you trying to do?
Report, edit, etc...Posted by Harros on 2004-06-09 at 18:05:36
set the trigger for player 7. By setting it to force, your setting it up to multiply units. It will work exactly the same if yous et it up for player 7 but only create 3 units.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-09 at 20:51:54
To Multiply Units. . . whatever.

I blame yoshi for this.
Report, edit, etc...Posted by Yoshi da Sniper on 2004-06-09 at 21:20:15
*takes out Thesaurus...*

How about aggrandizing units?
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-10 at 00:08:22
*takes out Dictionary.com*
QUOTE(Dictionary.com)
2 entries found for aggrandizing.
ag·gran·dize    ( P )  Pronunciation Key  (-grndz, grn-)
tr.v. ag·gran·dized, ag·gran·diz·ing, ag·gran·diz·es

To increase the scope of; extend.
To make greater in power, influence, stature, or reputation.
To make appear greater; exaggerate: aggrandize one argument while belittling another.


Uhh no my point is units are not multiplyed or anything silly like that. Its just your dumb memonic because you for some reason never realized that the trigger runs for every player in the player group. All the actions are "multiplied" because each player runs there own trigger. Its just that the create units trigger is the most apparent.

Consider this instead.

Player 1
Conditions:
-Player 1 owns at least one men
Actions:
-Create 1 men for player 1 at location

Player 2
Conditions:
-Player 1 owns at least one men
Actions:
-Create 1 men for player 1 at location

Player 3
Conditions:
-Player 1 owns at least one men
Actions:
-Create 1 men for player 1 at location

In this example no one would not find it odd that 3 units are created. Yet the triggers above are the EXACT same thing as the following. (even trigger order)

Force 1 (p1 - p3)
Conditions:
-Player 1 owns at least one men
Actions:
-Create 1 men for player 1 at location

Now you don' notice it with other stuff because most actions are not ovious when repeated by each player. Example ( switches, order, display text, kill, remove, and others )
Report, edit, etc...Posted by xXLordSlippyXx on 2004-06-10 at 01:12:20
Yea, but it's not just own men, it's bring men to location.

So basically just make your trigger, but instead of making it for force 1 make it for each individual player in force 1


Or just set "force one" to "Current player"

I'm not quite sure what your asking, so i'm going to post this and hope it works closedeyes.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2004-06-10 at 12:07:00
Thx guys, I tried with Player 7 and it worked.

I have something else. While I am in that location with an unit, it creates the units every 5 seconds, but after a while (4 mins) it stops creating for like 1 minute and then starts creating again... why is that?
I'm changing the "wait" system right now, but I just wanted to know...
Report, edit, etc...Posted by (U)Bolt_Head on 2004-06-10 at 12:35:57
After 4 minutes of your game you have a wait that is about a minute long run.

Only 1 wait can run at a time and that other wait must be running at that time so it delays your trigger until it is finished.
Report, edit, etc...Posted by flipmonkey on 2004-06-10 at 12:39:18
Can't you do
"Force 1" brings exactly 1 men to "location"

I did this before in one of my maps and didn't have a problem with it.
"Just saying" correct me if im wrong.
Report, edit, etc...Posted by .Coko[CK] on 2004-06-10 at 13:34:14
No, because likely he has set it to be just one person in question, no one else!
Report, edit, etc...Posted by Harros on 2004-06-10 at 19:47:10
Whenever you want a group (Force 1) to bring at least 1 unit somewhere to create something for a computer or another player, set the trigger to the player your creating something for.

Yes, It would be more logical to place that event in with the players preforming the action BUT the trigger will not work how you want it (Unless you want a guy to spawn for every player in the group).
Next Page (1)