Why does it wait until it casts the ability?

excis

Member
Reaction score
1
Hi in this trigger I want to create a dummy every 20 seconds and give the ability, cast it then remove the ability aswell removing the dummy. But it doesnt seem to be working correctly because when it triggers it creates the dummy but when it triggers again he fires the ability why? I added the trigger aswell
Trigger:
  • Chain Breath Easy
    • Events
      • Time - Every 20.00 seconds of game time
    • Conditions
    • Actions
      • Set TempLoc = (Position of Drephinos [Human Form] 0001 <gen>)
      • Set TempGroup = (Units of type Chain Breath of Frost Dummy)
      • Unit - Create 1 Chain Breath of Frost Dummy for Player 12 (Brown) at TempLoc facing Default building facing degrees
      • Unit - Add a 15.00 second Generic expiration timer to (Last created unit)
      • Unit - Pause Drephinos [Human Form] 0001 <gen>
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Add Chain breath of Frost to (Picked unit)
          • Set TempGroup2 = (Units in Deep breath Region <gen> matching (((Matching unit) belongs to an enemy of Player 12 (Brown)) Equal to True))
          • Unit - Order (Picked unit) to Orc Far Seer - Chain Lightning (Random unit from TempGroup2)
          • Custom script: call DestroyGroup(udg_TempGroup2)
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: call RemoveLocation(udg_TempLoc)
      • Wait 4.00 seconds
      • Unit - Unpause Drephinos [Human Form] 0001 <gen>
      • Set TempGroup = (Units of type Chain Breath of Frost Dummy)
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Remove Chain breath of Frost from (Picked unit)
      • Custom script: call DestroyGroup(udg_TempGroup)
I have a wait because it is a cast time on the ability
 

BlueMirage

Trust, but doubt.
Reaction score
39
What's the point of having a casting time on the ability if the dummy cannot be seen anyway? Just increase the time waited on the trigger.

Why create a unit group, when you only have one dummy casting the spell?

Why remove the skill if the dummy is going to disappear in 15 seconds?
 

excis

Member
Reaction score
1
What's the point of having a casting time on the ability if the dummy cannot be seen anyway? Just increase the time waited on the trigger.

Why create a unit group, when you only have one dummy casting the spell?

Why remove the skill if the dummy is going to disappear in 15 seconds?

I got a cast time because the spell is based of chain lightning and you need to spread out so you dont let the chain lightning jump.

How should i do it if im not using a unit group?
 

BlueMirage

Trust, but doubt.
Reaction score
39
You simply remove unit group.
The only thing you have to do is set TempUnit to Last Created unit, or you won't be able to call your dummy since it has locust.

Still no point in having a casting time. It's easier to just trigger the wait.
 
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