• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] FIX trigger selection race

Status
Not open for further replies.
Level 2
Joined
May 15, 2018
Messages
4
  • Dialog Race Selector
    • Eventi
      • Tempo - Elapsed game time is 0.00 seconds
    • Condizioni
    • Azioni
      • Dialoghi - Clear DialogTitle
      • Dialoghi - Change the title of DialogTitle to Scegli la tua razza
      • Dialoghi - Create a dialog button for DialogTitle labelled Umani
      • Set Dialog_Button1 = (Last created dialog Button)
      • Dialoghi - Create a dialog button for DialogTitle labelled Orchi
      • Set Dialog_Button2 = (Last created dialog Button)
      • Dialoghi - Create a dialog button for DialogTitle labelled Elfi della Notte
      • Set Dialog_Button3 = (Last created dialog Button)
      • Dialoghi - Create a dialog button for DialogTitle labelled Non-Morti
      • Set Dialog_Button4 = (Last created dialog Button)
      • Dialoghi - Create a dialog button for DialogTitle labelled Naga
      • Set Dialog_Button5 = (Last created dialog Button)
      • For each (Integer A) from 1 to 6, do (Actions)
        • Giro - Azioni
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • Se - Condizioni
              • ((Player((Integer A))) controller) Uguale a Utente
            • Allora - Azioni
              • Dialoghi - Mostra DialogTitle for (Player((Integer A)))
            • Altrimenti - Azioni
      • Trigger - Turn on Replace Race <gen>

  • Replace Race
    • Eventi
      • Dialoghi - A dialog button is clicked for DialogTitle
    • Condizioni
      • (Clicked dialog button) Uguale a Dialog_Button1
    • Azioni
      • Set Temp_Integer_1 = (Player number of (Triggering player))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • Se - Condizioni
          • (Clicked dialog button) Uguale a Dialog_Button1
        • Allora - Azioni
          • -------- change race to HUMAN --------
        • Altrimenti - Azioni
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • Se - Condizioni
              • (Clicked dialog button) Uguale a Dialog_Button2
            • Allora - Azioni
              • -------- change race to ORC --------
            • Altrimenti - Azioni
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • Se - Condizioni
                  • (Clicked dialog button) Uguale a Dialog_Button3
                • Allora - Azioni
                  • -------- change race to ELF --------
                • Altrimenti - Azioni
                  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • Se - Condizioni
                      • (Clicked dialog button) Uguale a Dialog_Button4
                    • Allora - Azioni
                      • -------- change race to UNDEAD--------
                    • Altrimenti - Azioni
                      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                        • Se - Condizioni
                          • (Clicked dialog button) Uguale a Dialog_Button5
                        • Allora - Azioni
                          • -------- change race to NAGA --------
                        • Altrimenti - Azioni
      • Dialoghi - Nascondi DialogTitle for Player

hi, i need to complete my trigger for replace race.. i want to select a race for example NAGA with windows dialog and replace my start units with units murloc and starting base with murloc.. but i dont now how ç_ç the window dialog its ok but when i click on button for race nothing happena.. so i write with comment what should do the trigger .. but im block ç_ç can someone pls help me ç_ç
 
Last edited:
Status
Not open for further replies.
Top