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

[Trigger] Knockback stops working

Level 11
Joined
Aug 11, 2009
Messages
594
I am using the Knockback 3D system here on Hive. For some reason on one of the Boss fights it stops working after reseting the Boss. The spell works fine multiple times during the same fight but if i die or jump out and start the fight again, the spell no longer knockbacks.
Everything else with the spell works, only the knockback effect is not happening.

  • CT11 Explosion
    • Events
      • Time - ChampTour1_ExplosionTimer expires
    • Conditions
    • Actions
      • Special Effect - Create a special effect at ChampTour1_CenterPoint using war3mapImported\Radiance Orange.mdx
      • Set VariableSet ChampTour1_ExplosionSFX = (Last created special effect)
      • Special Effect - Set Height of ChampTour1_ExplosionSFX to: 600.00
      • Special Effect - Set Scale of ChampTour1_ExplosionSFX to 3.00
      • Trigger - Turn on CT11 Explosion Loop <gen>

  • CT11 Explosion Loop
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Set VariableSet ChampTour1_ExplosionCount = (ChampTour1_ExplosionCount + 10.00)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ChampTour1_ExplosionCount Equal to 600.00
        • Then - Actions
          • Special Effect - Destroy ChampTour1_ExplosionSFX
          • Special Effect - Create a special effect at ChampTour1_CenterPoint using war3mapImported\FireNova2.mdx
          • Special Effect - Destroy (Last created special effect)
          • Set VariableSet ChampTour1_ExplosionCount = 0.00
          • Player Group - Pick every player in ChampTour_PlayerGroup[1] and do (Actions)
            • Loop - Actions
              • Set VariableSet KB3D_Unit = U_Hero[(Player number of (Picked player))]
              • Set VariableSet KB3D_Range = 500.00
              • Set VariableSet KB3D_Speed = 1000.00
              • Set VariableSet KB3D_Time = 1.00
              • Set VariableSet Camp61_KBPoint[1] = (Center of CT11 Area <gen>)
              • Set VariableSet Camp61_KBPoint[2] = (Position of KB3D_Unit)
              • Set VariableSet KB3D_Angle = (Angle from Camp61_KBPoint[1] to Camp61_KBPoint[2])
              • Custom script: call RemoveLocation(udg_Camp61_KBPoint[1])
              • Custom script: call RemoveLocation(udg_Camp61_KBPoint[2])
              • Custom script: call ExecuteFunc( "KB3D_Registration" )
          • Countdown Timer - Start ChampTour1_ExplosionTimer as a One-shot timer that will expire in 30.00 seconds
          • Trigger - Turn off (This trigger)
        • Else - Actions
          • Special Effect - Set Height of ChampTour1_ExplosionSFX to: (600.00 - ChampTour1_ExplosionCount)

  • CT11 Reset
    • Events
    • Conditions
    • Actions
      • Trigger - Turn off CT11 Boss Engage <gen>
      • Trigger - Turn off CT11 Boss Spell <gen>
      • Trigger - Turn off CT11 Mines <gen>
      • Trigger - Turn off CT11 Explosion <gen>
      • Trigger - Turn off CT11 Explosion Loop <gen>
      • Trigger - Turn off CT11 Timer <gen>
      • Trigger - Turn off CT11 Complete <gen>
      • Set VariableSet ChampTour_Active[1] = False
      • Set VariableSet ChampTour_Locked[1] = False
      • Set VariableSet ChampTour1_ExplosionCount = 0.00
      • Special Effect - Destroy ChampTour1_ExplosionSFX
      • Floating Text - Destroy ChampTour_TimerText[1]
      • Custom script: call RemoveLocation(udg_ChampTour1_LootPoint)
      • Unit Group - Pick every unit in ChampTour1_MineGroup and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Item - Pick every item in CT11 Area <gen> and do (Actions)
        • Loop - Actions
          • Item - Remove (Picked item)
      • Unit - Kill ChampTour_Boss[1]
      • Hero - Instantly revive ChampTour_Boss[1] at ChampTour1_BossPoint, Hide revival graphics
      • Unit - Make ChampTour_Boss[1] face 270.00
      • Unit - Change ownership of ChampTour_Boss[1] to Neutral Passive and Retain color
      • Unit - Make ChampTour_Boss[1] Invulnerable
 
Level 20
Joined
Feb 27, 2019
Messages
592
Exclude "Wirts Leg" from being removed in Pick every item in CT11 Area and do actions - Remove (Picked item) in the Reset Triggers trigger and see if that helps.
 
Last edited:
Level 20
Joined
Feb 27, 2019
Messages
592
I guess some explanation is in order too. The Knockback 3D system uses the CheckWalkability System by PurgeandFire which creates and then uses an item based on "Wirts Leg" to check for walkability. Removing that specific item destroys the system.
 
Top