Structer Health!?

widra

New Member
Reaction score
3
I need to display on the screen health of a structer, and put it in a variable!

How can i do that!?
 

Fallen-Kid

New Member
Reaction score
12
I'm not exactly sure what you mean in the first part, but you can use triggers to set the structure to a variable and then the structures health into a variable. Please elaborate.
 

widra

New Member
Reaction score
3
its like this i have a castle and it has 10000 health so when units attack it i want to display its helath on the screen like in a leadboard. i just dont know how to make the castles health in a variable! :confused:
 

Fallen-Kid

New Member
Reaction score
12
Trigger:
  • Set StructureHealth = (Integer((Life of (Triggering unit))))

Just change triggering unit to your structure. You might need to set the castle as a variable if it is not pre existing.
 

SineCosine

I'm still looking for my Tangent
Reaction score
77
Who says you even need a variable to store the structure's health?
Just set the leaderboard to show the Life of the structure directly =)
 
General chit-chat
Help Users

      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