Staredit Network

Staredit Network -> UMS Assistance -> Why Does A unit Almost Always Come Out Twice If ..
Report, edit, etc...Posted by Fastzerg on 2005-02-15 at 11:42:26
helpsmilie.gif My X-Tra Editor,Starforge Almost Everytime Makes Units Twice If It Is Made By Triggers. helpsmilie.gif
Report, edit, etc...Posted by Clokr_ on 2005-02-15 at 11:46:33
That's not the editor.

It is created twice because if the trigger is set for more than one player, or for a group (like Force1 or AllPlayers) it'll execute one time for each of the players if the conditions match, and it'll an unit each time that it is executed,
Report, edit, etc...Posted by Fastzerg on 2005-02-15 at 11:47:51
helpsmilie.gif me plz.
OtherWise I Can't Make Maps For B.net
Report, edit, etc...Posted by Clokr_ on 2005-02-15 at 11:49:07
Read above and dont be so impatient. Topic moved to Map Making Assistance.
Report, edit, etc...Posted by CrazyWulf on 2005-02-15 at 12:56:41
make the trig player specific so its under player 1 player 2 etc
that way it only makes for that player.
it would look like

player 1
condition
curent player brings at lest 1 any unit to location A
action
create 1 unit(name) at location B for curent player


its used in all defenseive games smile.gif
its how ya buy/ trade units
if you wanna have the unit killed or removed at location A then you can add a trig to do that
alkso to make it fire more then onces add perserev trig it will keep it active instead of just doining it onces then never again when someone moves to location a
Report, edit, etc...Posted by Neiji on 2005-02-15 at 17:27:49
If the problem is solved, can you at least post to say thank-you?God, that annoys me...
Report, edit, etc...Posted by LegacyWeapon on 2005-02-15 at 17:59:15
We have tutorials for everything!
http://www.staredit.net/index.php?tutorial=16

If they don't post again, I automatically assume they have fixed their problem.
Report, edit, etc...Posted by CrazyWulf on 2005-02-15 at 18:30:09
may have tutorials for everything but half of them even i donmt understand
Report, edit, etc...Posted by LegacyWeapon on 2005-02-15 at 18:58:28
QUOTE(CrazyWulf @ Feb 15 2005, 06:30 PM)
may have tutorials for everything but half of them even i donmt understand
[right][snapback]146154[/snapback][/right]

That is why we have a level system for each tutorial. If it has 4 blocks, then it is very advanced and may be very confusing at first. While tutorials with only 1 block can be understood so easily it's most likely not going to be read again by you.

If you have anything very confusing about the tutorial, please PM and I'll see what I can do.
If it is the system that you don't understand, it is not my fault.
Report, edit, etc...Posted by Fastzerg on 2005-02-16 at 09:17:59

Trigger
Description:
In My Editor It Comes Twice For 1 Player If I Type 1 In The Quanity Like This
Players:
¤ 1
Conditions:
¤ Any Condition
Actions:
¤ Create 1 [Unit] For P1

Report, edit, etc...Posted by chuiu on 2005-02-16 at 10:54:34
Show up the map, thats impossible.
Report, edit, etc...Posted by Fastzerg on 2005-02-16 at 13:07:49
ok il Show
Report, edit, etc...Posted by Illusion on 2005-02-16 at 13:26:48
You didn't include the condition make it specifically for p1
Report, edit, etc...Posted by Fastzerg on 2005-02-16 at 13:30:01
Here Is It
[attachmentid=5163]
First Open With SC
And Then With Editor
Report, edit, etc...Posted by CrazyWulf on 2005-02-16 at 13:39:53
looks like that trig would make a unit forever counualy making units for player 1. with no wait
also it should nbe in player 1 player grouip not all players id think.
also if you want it an allways trig might be an idea to have a wait before perserv trig. so its not flooding you with unit createions
Report, edit, etc...Posted by chuiu on 2005-02-16 at 13:43:16
OK, above you said that trigger was for player 1, and only player 1. This trigger is for ALL players. Which means you question was answered by the very first reply to this thread:

QUOTE(Clokr_ @ Feb 15 2005, 10:46 AM)
That's not the editor.

It is created twice because if the trigger is set for more than one player, or for a group (like Force1 or AllPlayers) it'll execute one time for each of the players if the conditions match, and it'll an unit each time that it is executed,
[right][snapback]145948[/snapback][/right]
Report, edit, etc...Posted by Fastzerg on 2005-02-16 at 13:55:30
Ok Now I Know



Tanks
Report, edit, etc...Posted by DemonKilla on 2005-02-16 at 14:04:06
i made the same mistake in my map too!
just put it for all players
Report, edit, etc...Posted by LegacyWeapon on 2005-02-16 at 14:51:35
QUOTE(DemonKilla @ Feb 16 2005, 02:04 PM)
i made the same mistake in my map too!
just put it for all players
[right][snapback]146680[/snapback][/right]

Putting it for all players was the MISTAKE!

Didn't you read my tutorial closedeyes.gif
http://www.staredit.net/index.php?tutorial=16
Report, edit, etc...Posted by Yenku on 2005-02-16 at 14:58:05
QUOTE(Clokr_ @ Feb 15 2005, 11:46 AM)
That's not the editor.

It is created twice because if the trigger is set for more than one player, or for a group (like Force1 or AllPlayers) it'll execute one time for each of the players if the conditions match, and it'll an unit each time that it is executed,
[right][snapback]145948[/snapback][/right]

in other words, if you say
players: all (lets say there is 8 in total)
Conditions: always
Action: Create one zergling for player 1

it makes 8 lings for player one, because each player has completed the condition.
Report, edit, etc...Posted by LegacyWeapon on 2005-02-16 at 15:05:37
QUOTE(Yenku @ Feb 16 2005, 02:58 PM)
in other words, if you say
players: all (lets say there is 8 in total)
Conditions: always
Action: Create one zergling for player 1

it makes 8 lings for player one, because each player has completed the condition.
[right][snapback]146701[/snapback][/right]

Maybe next time you should read the entire thread, or at least skim it to make sure the question wasn't already answered happy.gif
Report, edit, etc...Posted by Yenku on 2005-02-16 at 15:08:45
QUOTE(LegacyWeapon @ Feb 16 2005, 03:05 PM)
Maybe next time you should read the entire thread, or at least skim it to make sure the question wasn't already answered happy.gif
[right][snapback]146709[/snapback][/right]

i know it was, i was making it more clear, because the person who is explaining it know how to do it, the person who asked the question doesnt understand it, so i tried to make it easier. Anyway, Legacy, what is wrong with trying to help?
Report, edit, etc...Posted by LegacyWeapon on 2005-02-16 at 15:13:56
QUOTE(Fastzerg @ Feb 16 2005, 01:55 PM)
Ok Now I Know
Tanks
[right][snapback]146679[/snapback][/right]

Spam != Good.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-02-16 at 15:23:52
QUOTE(LegacyWeapon @ Feb 16 2005, 02:13 PM)
Spam != Good.
[right][snapback]146715[/snapback][/right]


He was the creator of the thread and he was announcing that he understands now. So another words shut up and stop repyling, thread locked.
Next Page (1)