View unanswered posts | View active topics It is currently Thu May 16, 2024 12:49 am



Reply to topic  [ 4 posts ] 
 Healthbar question 
Author Message
User avatar

Joined: Sun Nov 08, 2009 8:36 am
Posts: 3
Reply with quote
Post 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! :)


Mon Nov 09, 2009 9:09 pm
Profile
User avatar

Joined: Mon Jul 16, 2007 9:50 am
Posts: 1512
Location: Tallahassee, FL
Reply with quote
Post 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.


Mon Nov 09, 2009 9:56 pm
Profile YIM
Banned
User avatar

Joined: Thu May 14, 2009 9:22 pm
Posts: 826
Location: Lookin' forward to mocking people on Jan 1st 2013.
Reply with quote
Post Re: Healthbar question
CharHeight.


Mon Nov 09, 2009 9:58 pm
Profile YIM
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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.


Tue Nov 10, 2009 4:26 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.038s | 17 Queries | GZIP : Off ]