Data Realms Fan Forums
http://45.55.195.193/

Healthbar question
http://45.55.195.193/viewtopic.php?f=1&t=17092
Page 1 of 1

Author:  Juris Zelkind [ Mon Nov 09, 2009 9:09 pm ]
Post subject:  Healthbar question

Is there any way you can make a healthbar on a unit dissappear, and be able to reppear again mid game? I am experimenting with making cloaking. but thats the thing I cannot figure out. Thanks! :)

Author:  Darlos9D [ Mon Nov 09, 2009 9:56 pm ]
Post subject:  Re: Healthbar question

Well, you can set their height variable to something really high, though I forget the name of the variable. It can be found in any ini that defines an actor though.

This puts the health bar way off the top of the screen. Problem is, it also makes it so the actor can pick up any object no matter how far away it is, which is weird. I suppose you could override their ability to pick stuff up though, by messing with their Controller in lua. Maybe.

Author:  Metal Meltdown [ Mon Nov 09, 2009 9:58 pm ]
Post subject:  Re: Healthbar question

CharHeight.

Author:  411570N3 [ Tue Nov 10, 2009 4:26 am ]
Post subject:  Re: Healthbar question

You could try setting it to negative really far and it should have the same effect, and it might fix the pickup screwiness thingo.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/