• 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.

[Trigger] How can i make anti camps..?

Status
Not open for further replies.
Level 2
Joined
Oct 9, 2007
Messages
15
How can i make anti camps?

like when sertain player is on that area/region
he loses hp on sertain time

or if you know better A camp tell me please
 
Level 5
Joined
Aug 16, 2007
Messages
149
  • Damage Units
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in [Your Region]) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - [Damage per Sec])
this damages every unit in the region every second

EDIT:
To damage just units owned by one player, use
  • Damage Units
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by [Player]) and do (Actions)
        • Loop - Actions
          • Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 20.00)
 
Last edited:
Status
Not open for further replies.
Top