trigger crash error some player

Aiden

Member
Reaction score
0
Trigger: Pick every ally player hero and teleport to caster.
Some people get crash error, but i never see it.

RecallDOWN
Trigger:
  • Events
    • Player - Player 1 (Red) types a chat message containing -recall as An exact match
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
            • Then - Actions
              • Unit - Pause (Picked unit)
              • Unit - Make (Picked unit) Explode on death
              • Set Temp_PointRecall = (Position of (Picked unit))
              • Floating Text - Create floating text that reads Emergency Recall ! above (Picked unit) with Z offset 0.00, using font size 8.50, color (100.00%, 0.00%, 0.00%), and 25.00% transparency
              • Floating Text - Set the velocity of (Last created floating text) to 50.00 towards 90.00 degrees
              • Floating Text - Change (Last created floating text): Disable permanence
              • Floating Text - Change the lifespan of (Last created floating text) to 6.30 seconds
              • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportTo.mdl
            • Else - Actions
              • Do nothing
      • Game - Display to Losbuenos[1] the text: Emergency Recall in...
      • Wait 1.00 seconds
      • Game - Display to Losbuenos[1] the text: Emergency Recall in...
      • Wait 1.00 seconds
      • Game - Display to Losbuenos[1] the text: Emergency Recall in...
      • Wait 1.00 seconds
      • Game - Display to Losbuenos[1] the text: Emergency Recall in...
      • Wait 1.00 seconds
      • Game - Display to Losbuenos[1] the text: Emergency Recall in...
      • Wait 1.00 seconds
      • Special Effect - Destroy (Last created special effect)
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
              • ((Picked unit) is alive) Equal to True
            • Then - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • ((Picked unit) is an illusion) Equal to False
                      • ((Picked unit) has buff Sleep) Equal to False
                      • ((Picked unit) has buff Sleep (Pause)) Equal to False
                      • ((Picked unit) has buff Sleep (Stun)) Equal to False
                      • ((Picked unit) has buff Wind Walk) Equal to False
                      • ((Picked unit) has buff Divine Shield) Equal to False
                      • ((Picked unit) has buff Stunned) Equal to False
                      • ((Picked unit) has buff Stunned (Pause)) Equal to False
                      • ((Picked unit) has buff Hex) Equal to False
                • Then - Actions
                  • Player Group - Pick every player in Losbuenos[1] and do (Actions)
                    • Loop - Actions
                      • Custom script: set bj_wantDestroyGroup = true
                      • Unit Group - Pick every unit in (Units in (Playable map area) owned by (Picked player)) and do (Actions)
                        • Loop - Actions
                          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            • If - Conditions
                              • (Owner of (Picked unit)) Not equal to (Triggering player)
                              • (Unit-type of (Picked unit)) Not equal to Serpent Sentinel (Level 1)
                              • ((Picked unit) is A structure) Equal to False
                              • ((Picked unit) has an item of type Night Elf Flag) Equal to False
                              • Or - Any (Conditions) are true
                                • Conditions
                                  • ((Picked unit) is A Hero) Equal to True
                                  • ((Picked unit) is A ground unit) Equal to True
                                  • ((Picked unit) is Summoned) Equal to True
                                  • (Unit-type of (Picked unit)) Equal to Phoenix
                                  • (Unit-type of (Picked unit)) Equal to Phoenix Egg
                            • Then - Actions
                              • Unit - Move (Picked unit) instantly to Temp_PointRecall
                              • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
                              • Wait 0.30 seconds
                              • Special Effect - Destroy (Last created special effect)
                              • Unit - Pause (Picked unit)
                              • Selection - Select (Picked unit) for (Picked player)
                              • Camera - Pan camera for (Picked player) to (Position of (Picked unit)) over 0.00 seconds
                              • Wait 1.00 seconds
                              • Unit - Unpause (Picked unit)
                              • Custom script: call RemoveLocation(udg_Temp_PointRecall)
                              • Wait 2.00 seconds
                            • Else - Actions
                              • Do nothing
                • Else - Actions
                  • Do nothing
            • Else - Actions
              • Do nothing
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to True
            • Then - Actions
              • Animation - Play (Picked unit)'s stand animation
              • Unit - Unpause (Picked unit)
              • Unit - Make (Triggering unit) Die normally on death
            • Else - Actions
              • Do nothing
      • Trigger - Turn off (This trigger)
      • Wait 600.00 seconds
      • Trigger - Turn on (This trigger)
 

UndeadDragon

Super Moderator
Reaction score
447
For starters, how much of the trigger (if any) actually runs?
 

Aiden

Member
Reaction score
0
testing the trigger
now i know no matter what happen,
the trigger going on and do the recall..,
 
General chit-chat
Help Users

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top