Game Development Community

GuiHealthBarHud Manipulation

by Omtra Spectral · in Torque Developer Network · 06/10/2008 (8:08 am) · 2 replies

I am trying to make a game where you control one character, while four others assist you. I need to know how to individually change their health and magic (which is really just a health bar) bars individually. My problem is this: I have not found any methods or function or anything, for that matter, on how to manipulate them. I have given each one a different handle name. Are there any functions that will allow you to do this? If not, what code could I add to the engine to do so (I am going to purchase a basic engine soon, so this is a bit less preferable)?

- Omtra Spectral

#1
06/10/2008 (1:41 pm)
Do a search on "dynamic agility" or "variable player aspects" and you'll find some resources that will start you in the right direction.
#2
06/11/2008 (9:29 pm)
That really didn't help me out much, but thanks for trying :)
What I'm looking for is a way to individually link a health bar to a "character" (or friendly AI controlled object). I've done a few searches on guiHealthBarHud methods and stuff like that, but all I've been able to find leads to a dead end. I don't have the engine script so I don't know every single function, so a few methods for guiHealthBarHud would be appreciated.