health icon


(isbowhten) #1

i did not find anything about that health which is displayed if you are near a truck…
that healt icon is what i need


(murka) #2

Hmm, if your truck can be hurt, has a health value and a name to be displayed… it should have a health meter. I advise you recheck that you have everything needed.


(isbowhten) #3

i do not need it for my truck but for a script_mover so it is the same… it is a not-moving script_mover entity with a health key…
what a name should it have ???


(dutchmeat) #4

I haven’t ever checked the tank stuff inside the W:ET source, but I would say you have to check the ET source and search for the function ‘G_CheckForCursorHints’(or something simular) in game/g_main.c


(isbowhten) #5

i also never used a tank/truck prefab…
‘G_CheckForCursorHints’(or something simular) wasnt found by me.


(murka) #6

the health meter needs:
script_mover entity
health set(either in the entity or via script)
name… i think it was key:description
resurrectable spawnflag(?)
these 3/4 things will surely give you a health meter


(isbowhten) #7

thank you.
needed things: solid and allied/axis spawnflag and a description key.


(DerSaidin) #8

A related tip:
If the invulnerable flag is on, it won’t show an icon on the minimap.