• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Units Spawning for Player Problem

Status
Not open for further replies.
Level 2
Joined
Mar 15, 2008
Messages
25
Erm please explain what I am doing wrong...

Help.JPG


And yet, it makes red spawn a peasant and for some reason it doesn't spawn a teal peasant.
 
Level 2
Joined
Mar 15, 2008
Messages
25
It probably has something to do with the player slots.
If the red player is in slot two, it will do that.
What do you have in Scenario - Player Properties and such?

I've set red and green to none. So they should'nt even be in the map at all.

Help%202.JPG
 
Level 22
Joined
Feb 26, 2008
Messages
892
Well, that's probably your problem.
The game doesn't care what color the players are. It cares what slot they are in.
So, when you have some player in the game, they get the red color because they're the first person to enter, but they get the second slot (which becomes Player 2 in-game) because the first one it set to none.

Does that make any sense at all or are you more confused? :grin:
 
Level 2
Joined
Mar 15, 2008
Messages
25
Well, that's probably your problem.
The game doesn't care what color the players are. It cares what slot they are in.
So, when you have some player in the game, they get the red color because they're the first person to enter, but they get the second slot (which becomes Player 2 in-game) because the first one it set to none.

Does that make any sense at all or are you more confused? :grin:

Moar confused lol.
 
Level 22
Joined
Feb 26, 2008
Messages
892
Think about the slots you set up and forget the colors for a minute.

Player 2 (Blue) refers to the player in SLOT 2. Color is irrelevant.

When you start a game, you have SLOT 1 set to None. So no player will be there. That means the first player gets put in SLOT 2 instead.

Color is irrelevant.

So, with your trigger, the first player in the game gets a unit because the trigger looks at SLOT 2 and sees the first player.

Most likely, the color of the first player is red. So that's why you're confused.

Did that help any?
 
Level 2
Joined
Mar 15, 2008
Messages
25
So what you are saying is that I should...I still don't get it. Just tell what to do to fix it and I'll tel you then lol.
 
Level 22
Joined
Feb 26, 2008
Messages
892
> Just tell what to do to fix it and I'll tel you then lol.

Change your trigger so that it starts with Player 3 (Teal) and see what that does.

Let me try explaining again. :grin:

Slots:

1. NONE
2. open
3. open
4. open
5. open
6. open

Etc.

Now, the time comes you want to start a game....

3 Players come by.

Slots:

1. NONE
2. Player 1
3. Player 2
4. Player 3
5. open
6. open

Etc.

See? Your Player 1 is actually in Player 2's slot. So that person gets a unit.
 
Level 2
Joined
Mar 15, 2008
Messages
25
> Just tell what to do to fix it and I'll tel you then lol.

Change your trigger so that it starts with Player 3 (Teal) and see what that does.

Let me try explaining again. :grin:

Slots:

1. NONE
2. open
3. open
4. open
5. open
6. open

Etc.

Now, the time comes you want to start a game....

3 Players come by.

Slots:

1. NONE
2. Player 1
3. Player 2
4. Player 3
5. open
6. open

Etc.

See? Your Player 1 is actually in Player 2's slot. So that person gets a unit.

Zzzz...Just deleted blue out of the trigger. Red is not spawning anymore but guess what? I am not in control of any units anymore -.- and teal still isn't there.
 
Level 2
Joined
Mar 15, 2008
Messages
25
> I am not in control of any units anymore

What exactly do you mean by that?
I'm not sure what is happening in your map....

I can't control any units. Not even blue. Maybe if I sent you the map could you fix?
 
Level 2
Joined
Mar 15, 2008
Messages
25
Control of a Blue peasant. Not a red peasant. Like dota, blue,teal,purple,yellow and orange vs pink,grey,lb,dg and brown.

Close this. Problem fixed thanks to Ghan.

Do NOT double-post. Use the Edit Post button.
~Posts Merged
 
Last edited by a moderator:
Status
Not open for further replies.
Top