• 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.

IceFrog how can do that

Status
Not open for further replies.
Level 18
Joined
Jun 2, 2009
Messages
1,205
let me explain

i have a 12 slots player 1 and player 7 none (controlled by computer and only gives orders creeps will fight)

player 2 3 4 5 6 team 1
player 8 9 10 11 12 team 2

but when i create game as observers, players starts with slot 1 and slot 7

but when game started, player 1 and player 7 creeps names replaces with the player names,

my english is not enough for the explain i need someone who played dota
 
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set PlayersName1 = (Name of Player 1 (Red))
      • Set PlayersName2 = (Name of Player 2 (Blue))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 1 (Red) controller) Equal to User
        • Then - Actions
          • Player - Set name of Player 1 (Red) to PlayersName1
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 7 (Green) controller) Equal to User
        • Then - Actions
          • Player - Set name of Player 7 (Green) to PlayersName2
        • Else - Actions
I extremely dought this will work and if not just set the name of the creeps to the desired instead of setting it in properties!
 
Status
Not open for further replies.
Top