• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Heath reset issue

Status
Not open for further replies.
Level 7
Joined
Jan 11, 2022
Messages
108
What's exactly wrong with this trigger? (probably everything :razz: )

  • HEALTH RESET
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • ((Picked unit) is alive) Equal to True
    • Actions
      • Set TempPoint = (Position of Tremendous Ogre 0272 <gen>)
      • Set ER_AoE = 1000.00
      • Set TempGroup = (Units within ER_AoE of TempPoint matching (((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in TempGroup) Equal to 0
        • Then - Actions
          • Unit - Set life of Tremendous Ogre 0272 <gen> to 100.00%
        • Else - Actions
      • Custom script: call DestroyGroup(udg_TempGroup)
      • Custom script: call RemoveLocation(udg_TempPoint)
 
Status
Not open for further replies.
Top