Trigger Not working properly

mordocai

New Member
Reaction score
17
hey guys, i have recently made a trigger that spawns a world tree(dummy) at the target point. All goes well in the trigger except when its time for it to explode dealing dmg. IE: casting a warstomp. The dummy gets the ability but for some reasong will not cast it, it has as much mana as it can get and there is no cd/mana cost on the spell. I put a wait in there because idk how else to delay the effects
Trigger:
  • Tree
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Test
    • Actions
      • Set Caster = (Triggering unit)
      • Set TargetLoc = (Target point of ability being cast)
      • Unit - Create 1 Dummy2 for (Owner of Caster) at TargetLoc facing Default building facing degrees
      • Set Dummy = (Last created unit)
      • Unit - Add Explode (DummyUse) to Dummy
      • Unit - Set level of Explode (DummyUse) for Dummy to (Level of Test for Caster)
      • Unit - Add a 3.00 second Generic expiration timer to Dummy
      • Wait 2.50 seconds
      • Animation - Play Dummy's death animation
      • Unit - Order Dummy to Orc Tauren Chieftain - War Stomp
      • Unit - Remove Dummy from the game
      • Custom script: call RemoveLocation(udg_TargetLoc)
      • Set Dummy = No unit
      • Set Caster = No unit
 

wellwish3r

wishes wells.
Reaction score
52
0.5 seconds are probably not enough time for the dummy to cast the ability (it is killed after 3 secs, and you wait 2.5 before it starts casting. Further you give the dummy the order and remove him right away, which really does not give the dummy enough time to cast.

As for the delay of the stomp, you could just give the stomp a casting time of 2.5 seconds.
 

Volkof

Well-Known Member
Reaction score
31
How many Dummy units do you use. Because if you give it an expiration timer, there is no need to remove it.

Maybe disable the Remove function and try again
 

mordocai

New Member
Reaction score
17
i used 1dummy volkof, and thanks for the suggestions guys, im try them once i get the time. The casting time sounds like best +rep to both of you either way
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      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