Is there a way to se when an unit is attacked?

Sammmet

New Member
Reaction score
0
I want to make a unit so that it is damaged the same amount of damage will apply to another unit at the time the attack struck. I was thinking to do this trought take the current hp of the unit and when the unit got attacked I would get the new hp and calculate te diffrence and take the diffrence from the other unit. Is there another way of doing this or is there a function so that i can see if the unit got attacked?
 

Sammmet

New Member
Reaction score
0
Thanks

but i get a compile error that the member destroy has been redeclared it is the Event library it row 25 do u know what to do?
 

Laiev

Hey Listen!!
Reaction score
188
I just got the A.2.B... but this compile at least

EDIT: and Jasshelper got a new version? lol A.4.B?

strange Oo

EDIT EDIT: -.- A.4.B don't exist... this is the last lol
 

Attachments

  • 0.A.2.B.jasshelper.7z
    668.5 KB · Views: 176
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