Staredit Network

Staredit Network -> UMS Assistance -> Create Units Error, Weird.
Report, edit, etc...Posted by Lyon on 2005-01-09 at 21:22:50
Its really weird when i tell it to create ONE unit it creates the amount of units of the players in the game. say if theres 2 players it'll create 2 units instead of 1, w-t-f i dont get it....Anyone got an answer? i could use it right now.

-Nils
Report, edit, etc...Posted by chuiu on 2005-01-09 at 21:31:37
If you have the triggers players set to ALL PLAYERS, it will run the trigger once for each player (depending on the condition). If you have it set to PLAYER 1, it will run for that player 1 time (depending on the trigger of course).

For example. If I have the trigger for all players that says:

For: All Players
Conditions:
Always.
Actions:
Create 1 Zerg Zergling at location 'Anywhere' for Player 1.

It will create 1 Zergling for every player in the game for Player 1. However if it is for just Player 1 ...

For: Player 1
Conditions:
Always.
Actions:
Create 1 Zerg Zergling at location 'Anywhere' for Player 1.

Then it will only make 1 Zergling for Player 1.
Report, edit, etc...Posted by Lyon on 2005-01-09 at 21:36:30
Wow....That easy eh? thanks man, i didnt learn about errors n' stuff sad.gif
Report, edit, etc...Posted by Byte_Vipe]2 on 2005-01-09 at 21:37:03
closedeyes.gif Maybe u are using some swithces and hyper triggers.
that hapends to my 1 time in a bound always the trigger make that 3 units begin created.
i think you just have to change the order of the swhtiches ( like put them in the last part ) wink.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-09 at 21:39:20
this problem happens alot too me cry.gif
Report, edit, etc...Posted by Haemogod on 2005-01-10 at 07:30:22
wow i never knew all players did that, i alwasy though the first bit on the trigger set up was to do with organising, could u maybe tell me what other other ones do and how they work, (only the xtra 1's).
Report, edit, etc...Posted by Urmom(U) on 2005-01-10 at 16:37:57
be careful about player forces also because thats basically the same thing as all players.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-01-10 at 16:52:46
And also if the trigger is owned by multiple people. Like P1, P2, and P3. If you are going to use multiple people, I usually use Current Player in the action so as to avoid this, but it makes defenses where you want more units per player easier.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-01-11 at 14:45:23
QUOTE(Nils @ Jan 9 2005, 08:36 PM)
Wow....That easy eh? thanks man, i didnt learn about errors n' stuff sad.gif
[right][snapback]122219[/snapback][/right]

Its not a error.

QUOTE(Byte_Vipe]2 @ Jan 9 2005, 08:37 PM)
closedeyes.gif  Maybe u are using some swithces and hyper triggers.
that hapends to my 1 time in a bound always the trigger make that 3 units begin created.
i think you just have to change the order of the swhtiches ( like put them in the last part )  wink.gif
[right][snapback]122222[/snapback][/right]


Switches have nothing to do with it. If you fixed it with your switches you fixed one problem by making another, and not realizing ither of them.

QUOTE(Haemogod @ Jan 10 2005, 06:30 AM)
wow i never knew all players did that, i alwasy though the first bit on the trigger set up was to do with organising, could u maybe tell me what other other ones do and how they work, (only the xtra 1's).
[right][snapback]122436[/snapback][/right]


This is why beginners shouldn't use All Players and force owned triggers. In fact it would be nice if they simply removed the option compleatly. It would end alot of confussion.

Next Page (1)