Selecting Race
This topic is locked. You can no longer write replies here.
Jan 3 2009, 2:32 am
By: New-Guy  

Jan 3 2009, 2:32 am New-Guy Post #1



I want to know how you can detect what race a player chooses in the pre-game lobby.
ex. A player chooses protoss for a UMS game, and they start with a Protoss Nexus on the map.

Can they only start with a Start Location and nothing more? Or is it more complicated?



None.

Jan 3 2009, 2:35 am Symmetry Post #2

Dungeon Master

The condition 'command' should be what you're looking for. You can use it to detect whether the player has a nexus, hatchery or command center at the beginning of the game, and do your actions as you would like.



:voy: :jaff: :voy: :jaff:

Jan 3 2009, 2:37 am BiOAtK Post #3



I think he wants it to detect if the player is protoss and then place a nexus. For this, I have no fucking idea ;D



None.

Jan 3 2009, 2:37 am New-Guy Post #4



Wait...
Does that mean that on every UMS map it automatically has those units at the very start?
Or can you only have the Start Location for them at start?

Can you start the map with other units already owned by that player?



None.

Jan 3 2009, 2:39 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

Doubtful. This is UMS, so you won't start with anything.

I don't know of any good way. The only thing that pops into head is EUD, which is never a good thing.

If there was a difference in race other than the gui, it would be easy. Perhaps you can start with all 3, and have the player build drone/scv/probe to start with that particular race?



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jan 3 2009, 2:47 am New-Guy Post #6



Well, I know that in the World of Starcraft RPG it has a system like this. You can choose your race a start, and it decides what you do in-game.



None.

Jan 3 2009, 2:51 am Pigy_G Post #7



If you select your race it creates the respective home building at the start location I think, so maybe the map just detects that they have either a hatchery/nexus/command center, kills it, and bases the rest of the players triggers from that.



None.

Jan 3 2009, 2:59 am NudeRaider Post #8

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yup, when the player's race is set to 'User select' that player will ONLY have the main building of his race and 4 workers. Any preplaced units/buildings for that player will be removed.




Jan 3 2009, 3:02 am New-Guy Post #9



So, if I were to have that player have other units besides the hatchery/CC/nexus, I would have to give it to them by trigger?



None.

Jan 3 2009, 3:08 am NudeRaider Post #10

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

exactly. Preplace for P12 (or other players), then use give action.




Jan 3 2009, 3:18 am New-Guy Post #11



Okay then. Tyvm!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
Please log in to shout.


Members Online: Zycorax, Oh_Man