Spell trigger not working

storgaard

New Member
Reaction score
4
Trigger:
  • Drums of War
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Drums of War
    • Actions
      • Set BL_Caster = (Casting unit)
      • Set BL_Casterpoint = (Position of BL_Caster)
      • Set BL_Group = (Units within 500.00 of BL_Casterpoint matching (((Matching unit) belongs to an ally of (Owner of BL_Caster)) Equal to True))
      • Unit Group - Pick every unit in BL_Group and do (Actions)
        • Loop - Actions
          • Set BL_Point = (Position of (Picked unit))
          • Unit - Create 1 Bloodlyst dummy (Tribal) for (Owner of BL_Caster) at BL_Point facing Default building facing degrees
          • Custom script: call RemoveLocation(udg_BL_Point)
          • Unit - Set level of Drums of War (Unit) for (Last created unit) to (Level of Drums of War for BL_Caster)
          • Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)
      • Custom script: call DestroyGroup(udg_BL_Group)
      • Custom script: call RemoveLocation(udg_BL_Casterpoint)

This is my trigger, what im doing is a mass bloodlyst, divided into 2 phases, the hero uses a empty roar abillity, that triggers the real abillity. What happens is that the units seems like they are under the effekt, they get the buff note, the glowing hands, stuff like that, but really they do not get the buff and it dosnt delay at all. i think it might be cause they dosnt receive bloodlyst but only the empty Roar.
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Move that Custom script out of the loop. Also make sure the bloodlust(dummy) has a long cast range and has 0 mana cost.
If all else fails try this trigger rather.
Try adding the ability to the dummy

Trigger:
  • Unit - Add War Drums (unit) to (Last created unit)


Trigger:
  • War Drums
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to War Drums
    • Actions
      • Set WDPoint[(Player number of (Owner of (Triggering unit)))] = (Position of (Casting unit))
      • Unit Group - Pick every unit in (Units within 450.00 of WDPoint[(Player number of (Owner of (Triggering unit)))] matching (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at WDPoint[(Player number of (Owner of (Triggering unit)))] facing Default building facing degrees
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Add War Drums (unit) to (Last created unit)
          • Unit - Set level of War Drums (unit for (Last created unit) to (Level of War Drums for (Triggering unit))
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)
      • Custom script: call RemoveLocation(udg_WDPoint[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
 

storgaard

New Member
Reaction score
4
Move that Custom script out of the loop. Also make sure the bloodlust(dummy) has a long cast range and has 0 mana cost.
If all else fails try this trigger rather.
Try adding the ability to the dummy

Trigger:
  • Unit - Add War Drums (unit) to (Last created unit)


Trigger:
  • War Drums
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to War Drums
    • Actions
      • Set WDPoint[(Player number of (Owner of (Triggering unit)))] = (Position of (Casting unit))
      • Unit Group - Pick every unit in (Units within 450.00 of WDPoint[(Player number of (Owner of (Triggering unit)))] matching (((Matching unit) belongs to an ally of (Owner of (Triggering unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at WDPoint[(Player number of (Owner of (Triggering unit)))] facing Default building facing degrees
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Add War Drums (unit) to (Last created unit)
          • Unit - Set level of War Drums (unit for (Last created unit) to (Level of War Drums for (Triggering unit))
          • Unit - Order (Last created unit) to Orc Shaman - Bloodlust (Picked unit)
      • Custom script: call RemoveLocation(udg_WDPoint[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])

+rep!:thup: thanks, btw i love your picture, alot better than that crazy nigger you had before, but it seems it havnt changed your map making skills ;)
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
I just have less time to help.
My weekend off so im here. What was the problem?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top