What type of variable do you use to store type of units Hp

panzer

New Member
Reaction score
0
What type of variable do you use to store the HP of a type of Unit i.e Footmen etc? And if I want to change it later in the game how do you do that?
 

panzer

New Member
Reaction score
0
Haha Even though ur not sure about the question you've just solved my problem Thanks man :D
 

WaterKnight

Member
Reaction score
7
When you are using GUI and you see the function whose return value you want to save into a variable, the window where this function is offered is captioned by the type it returns.

Do you want to change a unit's current or maximum life?
 

NeuroToxin

New Member
Reaction score
46
Maximum Life can be changed with the Item Life Bonus spell, (Not really a spell, but a passive life thing an item can give, or a unit, doesn't matter), Handicap (Triggers) Or Upgrades. AFAIK.
 

HydraRancher

Truth begins in lies
Reaction score
197
Maximum Life can be changed with the Item Life Bonus spell, (Not really a spell, but a passive life thing an item can give, or a unit, doesn't matter), Handicap (Triggers) Or Upgrades. AFAIK.

The word you are looking for is ability.

This topic (life increment) is already being discussed in a different thread.
 
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