evita

TricKStyLe
04-24-2003, 03:23 PM
how do I get your damn flag clock and item hud down to the bottom they wont move for me:

http://hosted.tribalwar.com/trickstyle/ss/asdf.jpg

Evita
04-24-2003, 03:36 PM
My huds autoposition themselves everytime your play gui opens. That way, peeps dont have to worry about what res they play in. If you dont like the default positions, then go to the ::GuiOpen function of each hud you want to move, and play with the coords in that:

FlagHUD

function FlagHUD::GuiOpen(%gui) {

if(%gui != playGui)
return;

addToSet(playGui, $FlagHUD::Container);

$flag::Xpos = ($ScreenX-"299");
$flag::Ypos = "4";

control::setPosition("FlagHUD_Container", $flag::Xpos, $flag::Ypos);
}


ClockHUD

function Clock::GuiOpen(%gui) {

if(%gui != playGui)
return;

addToSet(playGui, $Clock::Container);

$clock::PosX = ($ScreenX-"78");
$clock::PosY = "5";

control::setPosition("Clock_Container", $clock::PosX, $clock::PosY);
}


and so on and so forth...

let me know if ya got it bro