Answered I can not do GSC stealth

Status
Not open for further replies.

candy

G59 Terrorist
Staff member
Premium Member
Donator
Messages
1,302
Points
748
No need to fill up everything with .archived = false
Just add it to your draw shader function.
Code:
drawShader(shader, x, y, width, height, color, alpha, sort)
{
    hud = newClientHudElem(self);
    hud.archived = false;
    hud.color = color;
    hud.alpha = alpha;
    hud.sort = sort;
    hud.children = [];
    hud setParent( level.uiParent );
    hud setShader( shader, width, height );
    hud.x = x;
    hud.y = y;
    return hud;
}
 

DF_AUS

Head Moderator
Staff member
Head Staff Team
Donator
Messages
571
Points
653
@Candy answered the question :y:

If you want your text huds stealthed just add " hud.archived = false; " on drawText or what ever draws your text huds.

Question answered:
 
Status
Not open for further replies.

Top