Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to delete HUD elements on death?
#1
A waittill ("Death") function with self.HUD.alpha = 0; doesn't do it.. what can I do
Reply

#2
Did you at least thread it on spawn?
Code:
self thread ResetOnDeath();

ResetOnDeath()
{
self waittill("death");
self.HUDVARIABLE.alpha =0 0;
}[/quote]

(We thread it on Spawn because if the hud text is put everytime then we want to reset it on death each time.)
[hr]
[quote='DidUknowiPwn' pid='103091' dateline='1377048652']
Did you at least thread it on spawn?
[code]self thread ResetOnDeath();

ResetOnDeath()
{
self waittill("death");
self.HUDVARIABLE.alpha =0 0;
}

(We thread it on Spawn because if the hud text is put everytime then we want to reset it on death each time.)
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#3
(08-21-2013, 02:30)DidUknowiPwn Wrote: Did you at least thread it on spawn?
Code:
self thread ResetOnDeath();

ResetOnDeath()
{
self waittill("death");
self.HUDVARIABLE.alpha =0 0;
}[/quote]

(We thread it on Spawn because if the hud text is put everytime then we want to reset it on death each time.)
[hr]
[quote='DidUknowiPwn' pid='103091' dateline='1377048652']
Did you at least thread it on spawn?
[code]self thread ResetOnDeath();

ResetOnDeath()
{
self waittill("death");
self.HUDVARIABLE.alpha =0 0;
}

(We thread it on Spawn because if the hud text is put everytime then we want to reset it on death each time.)

Yes i've done this.. but its to no avail so I'm very confused.
Reply

#4
Well let's see the code.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#5
(08-21-2013, 03:37)DidUknowiPwn Wrote: Well let's see the code.

Well I feel genuinely stupid.. but I might as well say what I did to fix it..
I guess It had to be threaded through _Rank
Reply

#6
Well no it doesn't need to be from _rank. It could be from any GSC file you would want....
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#7
Code:
self waittill( "death" );
self.HUD destroy();
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question [Delete] Properly switching teams TemeraireTeamp 12 7,582 11-16-2013, 11:44
Last Post: TemeraireTeamp
  [Request] DELETE THIS ACCOUNT! fakalavista 3 3,596 10-23-2013, 07:45
Last Post: CJGreenLabel
  Change death animation Keouf 3 3,996 07-05-2013, 18:39
Last Post: Nekochan
  Help Remove Death Barriers? Help Please! camxxcore 1 2,561 06-28-2013, 09:38
Last Post: Yamato
  delete please Borealis 2 2,221 04-13-2013, 14:11
Last Post: kokole
  Turoial please, how do you add death machine to your slots? Erik The Born 9 5,175 02-15-2013, 21:38
Last Post: Gladio
Brick delete korsika 7 4,764 01-11-2013, 15:00
Last Post: surtek
  Help How ToCreate Dynamic Hud Elements OzonE 3 2,828 09-18-2012, 15:20
Last Post: archit
Lightbulb [Request] Delete killtriggers? Nekochan 7 4,308 09-02-2012, 13:24
Last Post: Ich1994
  plz delete OzonE 1 2,205 08-28-2012, 07:16
Last Post: JariZ

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.