• 🏆 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!

[Solved] Time Stop Spell dont work

Status
Not open for further replies.
Level 5
Joined
Jul 31, 2011
Messages
103
Hi i created a time stop spell item but when i use the item the trigger pause every unit even the caster how i can fix that, here is the trigger:

  • Reloj de Arena de Cronos
    • Acontecimientos
      • Unidad - A unit Inicia el efecto de una habilidad
    • Condiciones
      • (Ability being cast) Igual a |c00FF0000Reloj de Arena de Cronos|r
    • Acciones
      • Set Reloj_Cast = (Position of (Casting unit))
      • Set Reloj_AOE = 800.00
      • Set Reloj_Caster = (Casting unit)
      • Set GrupoReloj = (Units within Reloj_AOE of Reloj_Cast)
      • Grupo de unidad - Remove Reloj_Caster from GrupoReloj
      • Grupo de unidad - Pick every unit in GrupoReloj and do (Actions)
        • Bucle: Acciones
          • Efecto especial - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
          • Efecto especial - Create a special effect at Reloj_Cast using Abilities\Spells\Undead\ReplenishMana\ReplenishManaCasterOverhead.mdl
          • Set Reloj_Pos = (Position of (Picked unit))
          • Animación - Change (Picked unit)'s animation speed to 0.00% of its original speed
          • Unidad - Activar pausa (Picked unit)
          • Unidad - Activar pausa the expiration timer for (Picked unit)
          • Custom script: call RemoveLocation (udg_Reloj_Pos)
      • Cuenta atrás del reloj - Start Reloj_Time as a Un tiro timer that will expire in 4.00 seconds
      • Detonador - Turn on Reloj de Arena de Cronos Timer <gen>
Timer
  • Reloj de Arena de Cronos Timer
    • Acontecimientos
      • Tiempo - Reloj_Time expires
    • Condiciones
    • Acciones
      • Grupo de unidad - Pick every unit in GrupoReloj and do (Actions)
        • Bucle: Acciones
          • Efecto especial - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
          • Set Reloj_Pos = (Position of (Picked unit))
          • Animación - Change (Picked unit)'s animation speed to 100.00% of its original speed
          • Unidad - Desactivar pausa (Picked unit)
          • Unidad - Desactivar pausa the expiration timer for (Picked unit)
          • Custom script: call RemoveLocation (udg_Reloj_Pos)
      • Custom script: call DestroyGroup (udg_GrupoReloj)
Thanks for the help!
 
Level 5
Joined
Jul 31, 2011
Messages
103
Thanks for the help, i change it to this:

  • Reloj de Arena de Cronos
    • Acontecimientos
      • Unidad - A unit Inicia el efecto de una habilidad
    • Condiciones
      • (Ability being cast) Igual a |c00FF0000Reloj de Arena de Cronos|r
    • Acciones
      • Set Reloj_Caster = (Casting unit)
      • Set Reloj_Caster_Jugador = (Triggering player)
      • Set Reloj_Cast = (Position of (Casting unit))
      • Set GrupoReloj = (Units within 800.00 of Reloj_Cast)
      • Grupo de unidad - Pick every unit in GrupoReloj and do (Actions)
        • Bucle: Acciones
          • Set Reloj_unit = (Picked unit)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • Si: Condiciones
              • (Reloj_unit is alive) Igual a True
              • (Reloj_unit belongs to an enemy of Reloj_Caster_Jugador) Igual a True
            • Entonces: Acciones
              • Efecto especial - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
              • Efecto especial - Create a special effect at Reloj_Cast using Abilities\Spells\Undead\ReplenishMana\ReplenishManaCasterOverhead.mdl
              • Set Reloj_Pos = (Position of (Picked unit))
              • Animación - Change (Picked unit)'s animation speed to 0.00% of its original speed
              • Unidad - Activar pausa (Picked unit)
              • Unidad - Activar pausa the expiration timer for (Picked unit)
              • Custom script: call RemoveLocation (udg_Reloj_Pos)
            • Otros: Acciones
      • Cuenta atrás del reloj - Start Reloj_Time as a Un tiro timer that will expire in 4.00 seconds
      • Detonador - Turn on Reloj de Arena de Cronos Timer <gen>

When i test the spell keep pausing the caster, but if in the area are unit of the triggering player dont pause, but the caster keep paused :(
 
Status
Not open for further replies.
Top