Author Topic: Questions about HUDs  (Read 1533 times)

So I have this hud that I want to display so I made this
Code: [Select]
$remapDivision[$remapCount] = "Voice commands";
$remapName[$remapCount] = "Show Voice Command box";
$remapCmd[$remapCount] = "voiceHUD_open";
$remapCount++;
//CLIENT\
function voiceHUD_open(%bool)
{
if(%bool)
{
if(playgui.isAwake())
{
if(!voiceHUD.isAwake())
{
echo("voicehud");
playgui.add(voiceHUD);
}
else
{
echo("voicehud on");
playgui.remove(voiceHUD);
}
}
}
}
but the HUD never shows up when I press the button, the echos work but not the HUD

Also, how would I make the HUD wrap in the bottom left of the screen no matter what your resolution is?
and heres the .gui file if it helps: http://pastebin.com/xfUtDpR0

Also, how would I make the HUD wrap in the bottom left of the screen no matter what your resolution is?
vertSizing = "top";

vertSizing does this:

bottom: Position is pixel count from top to bottom
top: Position is pixel count from bottom to top
center: Position is pixel offset from center of screen, downways
relative: Position and Extent scales with the parent control

horizsizing does the same but horizontally
« Last Edit: September 02, 2013, 01:21:15 PM by Zeblote »

vertSizing = "top";

vertSizing does this:

bottom: Position is pixel count from top to bottom
top: Position is pixel count from bottom to top
center: Position is pixel offset from center of screen, downways
relative: Position and Extent scales with the parent control

horizsizing does the same but horizontally
Thanks that would be helpful if I could know how to make the HUD appear :S

wait that fixed my problem

wait it didn't
« Last Edit: September 04, 2013, 09:36:09 AM by Aide33 »

I have no idea what I'm doing wrong, I've set it to top  and right but it doesn't work at all
http://pastebin.com/9tDkmn4f

bump why is no one answering?

bump why is no one answering?
Because there is nothing wrong