Mass holy light

windale5

New Member
Reaction score
2
Ok everyone here knows about holy light. What i would need help on is making a mass holy light. here is how it works. You cast holy light on a target and every unit in like a 100 range get holy light cast on them instantly for half the heal except the unit that got healed the max by the holy light.
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
Trigger:
  • Holy Light
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set ENPoint[(Player number of (Owner of (Triggering unit)))] = (Position of (Target unit of ability being cast))
      • Unit Group - Pick every unit in (Units within 100.00 of ENPoint[(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 (Position of (Target unit of ability being cast)) facing Default building facing degrees
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Add Holy Light Dummy to (Last created unit)
          • Unit - Set level of Holy Light Dummy for (Last created unit) to (Level of Holy Light for (Triggering unit))
          • Unit - Order (Last created unit) to Human Paladin - Holy Light (Picked unit)
      • Custom script: call RemoveLocation(udg_ENPoint[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])
 

SaintMorose

New Member
Reaction score
26
Trigger:
  • Holy Light
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Holy Light
    • Actions
      • Set ENPoint[(Player number of (Owner of (Triggering unit)))] = (Position of (Target unit of ability being cast))
      • Unit Group - Pick every unit in (Units within 100.00 of ENPoint[(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 (Position of (Target unit of ability being cast)) facing Default building facing degrees
          • Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
          • Unit - Add Holy Light Dummy to (Last created unit)
          • Unit - Set level of Holy Light Dummy for (Last created unit) to (Level of Holy Light for (Triggering unit))
          • Unit - Order (Last created unit) to Human Paladin - Holy Light (Picked unit)
      • Custom script: call RemoveLocation(udg_ENPoint[GetConvertedPlayerId(GetOwningPlayer(GetTriggerUnit()))])

also need to remove the UnitGroup leak

edit: Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees should be to ENpoint instead of leaking
 
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