Well, sometimes i dont see a shortcut to create some triggers like my queen shield in my game, that activates and changes the item for another, in that i created 10 triggers, with 1 variable with 10 arrays, very boring to do, but this one is the largest trigger in my game, it actually works well, but can anybody say if there is a easier way to create this trigger and keep work the same? :
Well, thats the trigger, but not the only one, thats for player 1 only, i made 9 other triggers like this one and yes bored me but the result was succeful ...
Trigger:
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Owner of (Killing unit)) Equal to Player 1 (Red)
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Dying unit) Equal to Heroe_Player_6
- Then - Actions
- Set Cadena_De_Asesinatos[1] = (Cadena_De_Asesinatos[1] + 1)
- Quest - Display to (All players) the Quest Update message: ((Name of Heroe_Player_1) + ( + (Asesina a + ( + (Name of Heroe_Player_6)))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 2
- Then - Actions
- Sound - Play Killing_Spree01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Consigue una |c0080FF80Cadena de Muertes|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 3
- Then - Actions
- Sound - Play MegaKill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Se convierte en |c0000F4F4Mutilador|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 4
- Then - Actions
- Sound - Play monster_kill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es un |c00008080Monstruo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 5
- Then - Actions
- Sound - Play WhickedSick01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es |c00FEBA0EEnfermo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 6
- Then - Actions
- Sound - Play Unstoppable01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c005B5B5BNo se lo puede detener|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 7
- Then - Actions
- Sound - Play GodLike01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Contemplad, es como un |c00FF0000Dios|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Greater than or equal to 8
- Then - Actions
- Sound - Play HolyShit01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c00CC00CCUna Locura|r |c00FFFF80Fuera de Si|r |c00FFCEE7Imparable|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Dying unit) Equal to Heroe_Player_7
- Then - Actions
- Set Cadena_De_Asesinatos[1] = (Cadena_De_Asesinatos[1] + 1)
- Quest - Display to (All players) the Quest Update message: ((Name of Heroe_Player_1) + ( + (Asesina a + ( + (Name of Heroe_Player_7)))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 2
- Then - Actions
- Sound - Play Killing_Spree01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Consigue una |c0080FF80Cadena de Muertes|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 3
- Then - Actions
- Sound - Play MegaKill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Se convierte en |c0000F4F4Mutilador|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 4
- Then - Actions
- Sound - Play monster_kill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es un |c00008080Monstruo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 5
- Then - Actions
- Sound - Play WhickedSick01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es |c00FEBA0EEnfermo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 6
- Then - Actions
- Sound - Play Unstoppable01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c005B5B5BNo se lo puede detener|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 7
- Then - Actions
- Sound - Play GodLike01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Contemplad, es como un |c00FF0000Dios|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Greater than or equal to 8
- Then - Actions
- Sound - Play HolyShit01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c00CC00CCUna Locura|r |c00FFFF80Fuera de Si|r |c00FFCEE7Imparable|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Dying unit) Equal to Heroe_Player_8
- Then - Actions
- Set Cadena_De_Asesinatos[1] = (Cadena_De_Asesinatos[1] + 1)
- Quest - Display to (All players) the Quest Update message: ((Name of Heroe_Player_1) + ( + (Asesina a + ( + (Name of Heroe_Player_8)))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 2
- Then - Actions
- Sound - Play Killing_Spree01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Consigue una |c0080FF80Cadena de Muertes|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 3
- Then - Actions
- Sound - Play MegaKill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Se convierte en |c0000F4F4Mutilador|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 4
- Then - Actions
- Sound - Play monster_kill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es un |c00008080Monstruo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 5
- Then - Actions
- Sound - Play WhickedSick01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es |c00FEBA0EEnfermo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 6
- Then - Actions
- Sound - Play Unstoppable01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c005B5B5BNo se lo puede detener|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 7
- Then - Actions
- Sound - Play GodLike01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Contemplad, es como un |c00FF0000Dios|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Greater than or equal to 8
- Then - Actions
- Sound - Play HolyShit01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c00CC00CCUna Locura|r |c00FFFF80Fuera de Si|r |c00FFCEE7Imparable|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Dying unit) Equal to Heroe_Player_9
- Then - Actions
- Set Cadena_De_Asesinatos[1] = (Cadena_De_Asesinatos[1] + 1)
- Quest - Display to (All players) the Quest Update message: ((Name of Heroe_Player_1) + ( + (Asesina a + ( + (Name of Heroe_Player_9)))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 2
- Then - Actions
- Sound - Play Killing_Spree01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Consigue una |c0080FF80Cadena de Muertes|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 3
- Then - Actions
- Sound - Play MegaKill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Se convierte en |c0000F4F4Mutilador|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 4
- Then - Actions
- Sound - Play monster_kill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es un |c00008080Monstruo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 5
- Then - Actions
- Sound - Play WhickedSick01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es |c00FEBA0EEnfermo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 6
- Then - Actions
- Sound - Play Unstoppable01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c005B5B5BNo se lo puede detener|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 7
- Then - Actions
- Sound - Play GodLike01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Contemplad, es como un |c00FF0000Dios|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Greater than or equal to 8
- Then - Actions
- Sound - Play HolyShit01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c00CC00CCUna Locura|r |c00FFFF80Fuera de Si|r |c00FFCEE7Imparable|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Dying unit) Equal to Heroe_Player_10
- Then - Actions
- Set Cadena_De_Asesinatos[1] = (Cadena_De_Asesinatos[1] + 1)
- Quest - Display to (All players) the Quest Update message: ((Name of Heroe_Player_1) + ( + (Asesina a + ( + (Name of Heroe_Player_10)))))
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Then - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 2
- Then - Actions
- Sound - Play Killing_Spree01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Consigue una |c0080FF80Cadena de Muertes|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 3
- Then - Actions
- Sound - Play MegaKill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Se convierte en |c0000F4F4Mutilador|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 4
- Then - Actions
- Sound - Play monster_kill01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es un |c00008080Monstruo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 5
- Then - Actions
- Sound - Play WhickedSick01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Ahora es |c00FEBA0EEnfermo|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 6
- Then - Actions
- Sound - Play Unstoppable01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c005B5B5BNo se lo puede detener|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Equal to 7
- Then - Actions
- Sound - Play GodLike01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + Contemplad, es como un |c00FF0000Dios|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Cadena_De_Asesinatos[1] Greater than or equal to 8
- Then - Actions
- Sound - Play HolyShit01 <gen>
- Quest - Display to (All players) the Quest Update message: ((Name of (Owner of Heroe_Player_1)) + ( + |c00CC00CCUna Locura|r |c00FFFF80Fuera de Si|r |c00FFCEE7Imparable|r))
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
- If - Conditions
Well, thats the trigger, but not the only one, thats for player 1 only, i made 9 other triggers like this one and yes bored me but the result was succeful ...