Disabling enemy health bar
by Anthony · in Torque Game Engine · 09/28/2005 (8:35 pm) · 2 replies
I do think there is a post in the forums about this, but I have had a hard time finding it. What I am trying to do is disable the little health indicator when the crosshair is on another unit. Can't seem to find the part of code that handles this.
Any help would be apprectiated.
Anthony
Any help would be apprectiated.
Anthony
#2
- Anthony
09/29/2005 (12:42 am)
Figured it out, just incase anyone else wanted to know the fix, you must edit the crosshair hud element in the playGUI (thanks Chris for pointing me in the right direction). There should be a couple fields about damage (damagerec and damage offset I believe). Just set the rect to "1 1" and it should be fine, this is assuming you are using a [u]cross[/u]hair. You would probaly need to mess with the offset if you where using something other than a crosshair (such as a hallow circle or something).- Anthony
Torque 3D Owner Chris "DiGi" Timberlake