Hola a todos, tengo un problema he creado mi selector de razas personalizado, donde selecciono a los humanos y en el juego puedo seleccionar si elijo a humanos, elfos o enanos, con estos detonadores [GUI]Player Faction HU
Acontecimientos
Tiempo - Elapsed game time is 1.00 seconds
Condiciones
Acciones
For each (Integer A) from 1 to 8, do (Actions)
Bucle: Acciones
Dialogo - Change the title of PlayerRace[(Integer A)] to Race?
Dialogo - Create a dialog button for PlayerRace[(Integer A)] labelled |cff800000Elfo|r
Set RaceDialogButton[((((Integer A) - 1) x 8 ) + 0)] = (Last created dialog Button)
Dialogo - Create a dialog button for PlayerRace[(Integer A)] labelled |cff0000ffHumano|r
Set RaceDialogButton[((((Integer A) - 1) x 8 ) + 1)] = (Last created dialog Button)
Dialogo - Create a dialog button for PlayerRace[(Integer A)] labelled |cffd45e19Enano|r
Set RaceDialogButton[((((Integer A) - 1) x 8 ) + 2)] = (Last created dialog Button)
Grupo de jugadores - Pick every player in (All players matching (((Matching player) slot status) Igual a Está jugando)) and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
And - All (Conditions) are true
Condiciones
((Picked player) Comida usada) Menor que o igual a 5
(Race of (Picked player)) Igual a Humano
Entonces: Acciones
Diálogo - Mostrar PlayerRace[(Player number of (Picked player))] for (Picked player)
Otros: Acciones
[/GUI]
[GUI]Player Faction BE
Acontecimientos
Dialogo - A dialog button is clicked for PlayerRace[1]
Dialogo - A dialog button is clicked for PlayerRace[2]
Dialogo - A dialog button is clicked for PlayerRace[3]
Dialogo - A dialog button is clicked for PlayerRace[4]
Dialogo - A dialog button is clicked for PlayerRace[5]
Dialogo - A dialog button is clicked for PlayerRace[6]
Dialogo - A dialog button is clicked for PlayerRace[7]
Dialogo - A dialog button is clicked for PlayerRace[8]
Condiciones
Acciones
For each (Integer A) from 1 to 8, do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Clicked dialog button) Igual a RaceDialogButton[((((Integer A) - 1) x 8 ) + 0)]
Entonces: Acciones
Custom script: set bj_wantDestroyGroup=true
Grupo de unidad - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Campesino
Entonces: Acciones
Unidad - Replace (Picked unit) with a Trabajador using La nueva falta de la unidad life and mana
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Ayuntamiento
Entonces: Acciones
Unidad - Replace (Picked unit) with a Cópula using La nueva falta de la unidad life and mana
Otros: Acciones
Otros: Acciones
[/GUI]
[GUI]Player Faction DW
Acontecimientos
Dialogo - A dialog button is clicked for PlayerRace[1]
Dialogo - A dialog button is clicked for PlayerRace[2]
Dialogo - A dialog button is clicked for PlayerRace[3]
Dialogo - A dialog button is clicked for PlayerRace[4]
Dialogo - A dialog button is clicked for PlayerRace[5]
Dialogo - A dialog button is clicked for PlayerRace[6]
Dialogo - A dialog button is clicked for PlayerRace[7]
Dialogo - A dialog button is clicked for PlayerRace[8]
Condiciones
Acciones
For each (Integer A) from 1 to 8, do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Clicked dialog button) Igual a RaceDialogButton[((((Integer A) - 1) x 8 ) + 2)]
Entonces: Acciones
Custom script: set bj_wantDestroyGroup=true
Grupo de unidad - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Campesino
Entonces: Acciones
Unidad - Replace (Picked unit) with a Obrero using La nueva falta de la unidad life and mana
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Ayuntamiento
Entonces: Acciones
Unidad - Replace (Picked unit) with a Caserna using La nueva falta de la unidad life and mana
Otros: Acciones
Otros: Acciones
[/GUI]
Pero, ahora quiero crear una raza seleccionando a los No muertos y me estuve guiando de esos detonadores que uso con los Humanos, lo hice asi pero no me funciona [GUI]Player Faction UD
Acontecimientos
Tiempo - Elapsed game time is 1.00 seconds
Condiciones
Acciones
For each (Integer A) from 1 to 8, do (Actions)
Bucle: Acciones
Dialogo - Change the title of PlayerRace1[(Integer A)] to Race?
Dialogo - Create a dialog button for PlayerRace1[(Integer A)] labelled |cffff00ffUndead|r
Set RaceDialogButton1[((((Integer A) - 1) x 8 ) + 0)] = (Last created dialog Button)
Diálogo - Create a dialog button for PlayerRace1[(Integer A)] labelled |cff00ff00Legion|r
Set RaceDialogButton1[((((Integer A) - 1) x

+ 3)] = (Last created dialog Button)
Grupo de jugadores - Pick every player in (All players matching (((Matching player) slot status) Igual a Está jugando)) and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
And - All (Conditions) are true
Condiciones
((Picked player) Comida usada) Menor que o igual a 5
(Race of (Picked player)) Igual a Muerto viviente
Entonces: Acciones
Diálogo - Mostrar PlayerRace1[(Player number of (Picked player))] for (Picked player)
Otros: Acciones
[/GUI]
[GUI]Player Faction LG
Acontecimientos
Dialogo - A dialog button is clicked for PlayerRace[1]
Dialogo - A dialog button is clicked for PlayerRace[2]
Dialogo - A dialog button is clicked for PlayerRace[3]
Dialogo - A dialog button is clicked for PlayerRace[4]
Dialogo - A dialog button is clicked for PlayerRace[5]
Dialogo - A dialog button is clicked for PlayerRace[6]
Dialogo - A dialog button is clicked for PlayerRace[7]
Dialogo - A dialog button is clicked for PlayerRace[8]
Condiciones
Acciones
For each (Integer A) from 1 to 8, do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Clicked dialog button) Igual a RaceDialogButton1[((((Integer A) - 1) x 8 ) + 3)]
Entonces: Acciones
Custom script: set bj_wantDestroyGroup=true
Grupo de unidad - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Acólito
Entonces: Acciones
Unidad - Replace (Picked unit) with a Huesped using La nueva falta de la unidad life and mana
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Necrópolis
Entonces: Acciones
Unidad - Replace (Picked unit) with a Nexo using La nueva falta de la unidad life and mana
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Necrófago
Entonces: Acciones
Unidad - Replace (Picked unit) with a Hilota using La nueva falta de la unidad life and mana
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Unit-type of (Picked unit)) Igual a Mina de oro encantada
Entonces: Acciones
Unidad - Replace (Picked unit) with a Mina de oro maldita using La nueva falta de la unidad life and mana
Otros: Acciones
Otros: Acciones
[/GUI] No se como hacer el adecuado para que mi selector de raza funcione con los No muertos. ayuda por favor