Player Variable

kungfuturte0

New Member
Reaction score
2
OMG im stuck on an easy to make variable :( Ive made a map and theres two groups of players. Theres night elf and theres scourge. three players on each team (red, blue and teal on NE and Purple,Yellow Orange on Scourge) I want a variable that puts all these players in to a group. I need this so I can create a hero for each of them. HOWEVER, the computer also gets a hero and i dont want this:mad:. Im usin a trigger so that a random hero is given to each player. So i cannot create a unit and use a condition so heros are created for everyone except computers:( any help would be great. thanks:shades:
 

Advena

Just casually observing atm ;)
Reaction score
42
why not add the computer player to the group after hero cration is finished? ;)
 

warroom99

New Member
Reaction score
15
or you can add a condition when you do the actions

like

Code:
Picked player controller is not equal to computer...
 
S

Sinan_029

Guest
I know a way to make the variable to suit this but not sure how to create a hero for all players matching it.

Code:
Group
    Events
        Map initialization
    Conditions
    Actions
        Set Group = (All players controlled by a User player)
 

Advena

Just casually observing atm ;)
Reaction score
42
I think he'd already figured that out, so your input does help mate ;)
So, kungfuturte0, any of this helped you out? :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top