• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Set UI for custom race

Status
Not open for further replies.
You can hard set a player's UI to a certain race before the game, but you can't change a UI in-game.

I suggest putting something in the game preview description about using NE if you plan to use the race. That way a player can choose it before going into the game.

I assume you want the other races to have their normal UI?

yes and btw this is my current race selection system:

  • Race Selection Setup
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • Dialog - Change the title of Race_Dialog to Race Selection
      • Dialog - Create a dialog button for Race_Dialog labelled Play as the Treekin...
      • Set Race_Dialog_Buttons[0] = (Last created dialog Button)
      • Dialog - Create a dialog button for Race_Dialog labelled Play as origanlly c...
      • Set Race_Dialog_Buttons[1] = (Last created dialog Button)
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) controller) Equal to User
            • Then - Actions
              • Dialog - Show Race_Dialog for (Player((Integer A)))
            • Else - Actions
      • Trigger - Turn on Race Selection <gen>
  • Race Selection
    • Events
      • Dialog - A dialog button is clicked for Race_Dialog
    • Conditions
    • Actions
      • Set Temp_Integer_1 = (Player number of (Triggering player))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Clicked dialog button) Equal to Race_Dialog_Buttons[0]
        • Then - Actions
          • Custom script: set bj_wantDestroyGroup = true
          • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • ((Picked unit) is A peon-type unit) Equal to True
                • Then - Actions
                  • Unit - Replace (Picked unit) with a |cff008000Treant Gatherer|r using The old unit's relative life and mana
                  • Unit - Create 1 |cff008000Wisp|r for (Triggering player) at (Position of (Picked unit)) facing Default building facing degrees
                • Else - Actions
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • If - Conditions
                      • Or - Any (Conditions) are true
                        • Conditions
                          • ((Picked unit) is A town-hall-type unit) Equal to True
                    • Then - Actions
                      • Unit - Replace (Picked unit) with a |cff008000Ancient Defender|r ( Tier 1 ) using The old unit's relative life and mana
                    • Else - Actions
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • If - Conditions
                          • Or - Any (Conditions) are true
                            • Conditions
                              • ((Picked unit) is Mechanical) Equal to True
                        • Then - Actions
                          • Unit - Remove (Picked unit) from the game
                        • Else - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • Or - Any (Conditions) are true
                                • Conditions
                                  • ((Picked unit) is Undead) Equal to True
                            • Then - Actions
                              • Unit - Replace (Picked unit) with a |cff008000Treant Gatherer|r using The old unit's relative life and mana
                              • Unit - Create 1 |cff008000Wisp|r for (Triggering player) at (Position of (Picked unit)) facing (Position of (Picked unit))
                              • Unit - Create 1 |cff008000Wisp|r for (Triggering player) at (Position of (Last created unit)) facing (Position of (Last created unit))
                              • Unit - Create 1 |cff008000Treant Gatherer|r for (Triggering player) at (Position of (Last created unit)) facing (Position of (Last created unit))
                            • Else - Actions
                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                • If - Conditions
                                  • Or - Any (Conditions) are true
                                    • Conditions
                                      • (Unit-type of (Picked unit)) Equal to Paladin
                                • Then - Actions
                                  • Unit - Replace (Picked unit) with a |cff008000Keeper of the Forests|r using The new unit's max life and mana
                                • Else - Actions
                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                    • If - Conditions
                                      • Or - Any (Conditions) are true
                                        • Conditions
                                          • (Unit-type of (Picked unit)) Equal to Archmage
                                    • Then - Actions
                                      • Unit - Replace (Picked unit) with a |cff008000Arch Druid|r using The new unit's max life and mana
                                    • Else - Actions
                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                        • If - Conditions
                                          • Or - Any (Conditions) are true
                                            • Conditions
                                              • (Unit-type of (Picked unit)) Equal to Mountain King
                                        • Then - Actions
                                          • Unit - Replace (Picked unit) with a |cff008000Avenger |r using The new unit's max life and mana
                                        • Else - Actions
                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                            • If - Conditions
                                              • Or - Any (Conditions) are true
                                                • Conditions
                                                  • (Unit-type of (Picked unit)) Equal to Blood Mage
                                            • Then - Actions
                                              • Unit - Replace (Picked unit) with a |cff008000Huntress|r using The new unit's max life and mana
                                            • Else - Actions
                                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                • If - Conditions
                                                  • Or - Any (Conditions) are true
                                                    • Conditions
                                                      • (Unit-type of (Picked unit)) Equal to Death Knight
                                                • Then - Actions
                                                  • Unit - Replace (Picked unit) with a |cff008000Avenger |r using The new unit's max life and mana
                                                • Else - Actions
                                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                    • If - Conditions
                                                      • Or - Any (Conditions) are true
                                                        • Conditions
                                                          • (Unit-type of (Picked unit)) Equal to Lich
                                                    • Then - Actions
                                                      • Unit - Replace (Picked unit) with a |cff008000Keeper of the Forests|r using The new unit's max life and mana
                                                    • Else - Actions
                                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                        • If - Conditions
                                                          • Or - Any (Conditions) are true
                                                            • Conditions
                                                              • (Unit-type of (Picked unit)) Equal to Dreadlord
                                                        • Then - Actions
                                                          • Unit - Replace (Picked unit) with a |cff008000Arch Druid|r using The new unit's max life and mana
                                                        • Else - Actions
                                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                            • If - Conditions
                                                              • Or - Any (Conditions) are true
                                                                • Conditions
                                                                  • (Unit-type of (Picked unit)) Equal to Crypt Lord
                                                            • Then - Actions
                                                              • Unit - Replace (Picked unit) with a |cff008000Huntress|r using The new unit's max life and mana
                                                            • Else - Actions
                                                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                • If - Conditions
                                                                  • Or - Any (Conditions) are true
                                                                    • Conditions
                                                                      • (Unit-type of (Picked unit)) Equal to Blademaster
                                                                • Then - Actions
                                                                  • Unit - Replace (Picked unit) with a |cff008000Avenger |r using The new unit's max life and mana
                                                                • Else - Actions
                                                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                    • If - Conditions
                                                                      • Or - Any (Conditions) are true
                                                                        • Conditions
                                                                          • (Unit-type of (Picked unit)) Equal to Far Seer
                                                                    • Then - Actions
                                                                      • Unit - Replace (Picked unit) with a |cff008000Keeper of the Forests|r using The new unit's max life and mana
                                                                    • Else - Actions
                                                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                        • If - Conditions
                                                                          • Or - Any (Conditions) are true
                                                                            • Conditions
                                                                              • (Unit-type of (Picked unit)) Equal to Tauren Chieftain
                                                                        • Then - Actions
                                                                          • Unit - Replace (Picked unit) with a |cff008000Arch Druid|r using The new unit's max life and mana
                                                                        • Else - Actions
                                                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                            • If - Conditions
                                                                              • Or - Any (Conditions) are true
                                                                                • Conditions
                                                                                  • (Unit-type of (Picked unit)) Equal to Shadow Hunter
                                                                            • Then - Actions
                                                                              • Unit - Replace (Picked unit) with a |cff008000Huntress|r using The new unit's max life and mana
                                                                            • Else - Actions
                                                                              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                • If - Conditions
                                                                                  • Or - Any (Conditions) are true
                                                                                    • Conditions
                                                                                      • (Unit-type of (Picked unit)) Equal to Keeper of the Grove
                                                                                • Then - Actions
                                                                                  • Unit - Replace (Picked unit) with a |cff008000Avenger |r using The new unit's max life and mana
                                                                                • Else - Actions
                                                                                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                    • If - Conditions
                                                                                      • Or - Any (Conditions) are true
                                                                                        • Conditions
                                                                                          • (Unit-type of (Picked unit)) Equal to Priestess of the Moon
                                                                                    • Then - Actions
                                                                                      • Unit - Replace (Picked unit) with a |cff008000Keeper of the Forests|r using The new unit's max life and mana
                                                                                    • Else - Actions
                                                                                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                        • If - Conditions
                                                                                          • Or - Any (Conditions) are true
                                                                                            • Conditions
                                                                                              • (Unit-type of (Picked unit)) Equal to Demon Hunter
                                                                                        • Then - Actions
                                                                                          • Unit - Replace (Picked unit) with a |cff008000Arch Druid|r using The new unit's max life and mana
                                                                                        • Else - Actions
                                                                                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                                                                                            • If - Conditions
                                                                                              • Or - Any (Conditions) are true
                                                                                                • Conditions
                                                                                                  • (Unit-type of (Picked unit)) Equal to Warden
                                                                                            • Then - Actions
                                                                                              • Unit - Replace (Picked unit) with a |cff008000Huntress|r using The new unit's max life and mana
                                                                                            • Else - Actions
          • -------- change race to Race A --------
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Clicked dialog button) Equal to Race_Dialog_Buttons[1]
            • Then - Actions
              • Do nothing
            • Else - Actions
              • Do nothing
      • Dialog - Hide Race_Dialog for (Player(Temp_Integer_1))
 
Status
Not open for further replies.
Back
Top