Need Help!

joohen

New Member
Reaction score
20
I wanna make a unit which while its morning, the units life will lose 1hp/per sec. But i dunno how. HELP!






Edit : I also wanna make when a unit takes the item , the hero will also lose 1hp/per sec when its morning!
 

kingbdogz

The Edge of Eternity is upon us.
Reaction score
123
Here use these triggers, just change it to the unit you want to loose HP. Turn off Trigger 2.

Trigger 1:
Code:
Untitled Trigger 001
    Events
        Game - The in-game time of day becomes Equal to 0.01
    Conditions
    Actions
        Trigger - Turn on Untitled Trigger 002 <gen>

Trigger 2:
Code:
Untitled Trigger 002
    Events
        Time - Every 1.00 seconds of game time
    Conditions
    Actions
        Unit - Set life of (Unit Here) to ((Life of (Unit Here)) - 1.00)

Trigger 3:
Code:
Untitled Trigger 003
    Events
        Game - The in-game time of day becomes Equal to 12.00
    Conditions
    Actions
        Trigger - Turn off Untitled Trigger 002 <gen>

+rep is a nice way to thank me =)
 
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