View Full Version : HP Trigger = Dead Object

02-19-2003, 11:17 AM
Everytime I create a trigger to change the HP of a unit, the unit dies instantly on game start up. Does anybody know why? it's bugging the hell out of me...

02-21-2003, 06:13 PM
I have the same problem. Except with mine, I have 6 other units that have an HP change but they don't die. Only 1, and it's the player 2 commander. I need help too.

02-22-2003, 04:23 PM
The 'change object hitpoints' effect adds hitpoints to the selected object. However, if a unit's hitpoints are below 1, or over 32768, it will die. There could be several reasons why your unit is dying:
A. you are substracting hitpoints
B. the current hitpoints, combined with the hitpoints you are adding are over 32768... killing the unit
C. if the units hitpoints aren't that high, and you're not adding much either, perhaps you accidentally made the trigger looping, effectively adding to the hitpoints until the unit dies from it (over 32768)