hi, i wrote this code for ut99, im new at this stuff, and i can only speculate to what utdc uses in it's code
under mutator.. code that calls the script
and
am i launching this right?. i dont think i need to go all the way to make a fake window.
under mutator.. code that calls the script
Code:
simulated function DisplayInstallWindow ()
{
local InstallClient Win;
local WindowConsole C;
C = WindowConsole(PlayerPawn(Owner).Player.Console);
if ( !C.bCreatedRoot || (C.Root == None) )
{
C.CreateRootWindow(None);
}
C.bQuickKeyEnable = True;
C.LaunchUWindow();
Win = InstallClient(C.Root.CreateWindow(Class'InstallClient',30.0,30.0,600.0,220.0));
// Win.OwnerPawn = Pawn(Owner);
Win.ShowWindow();
}
Code:
class InstallClient expands UWindowDialogClientWindow;
function Created () {
local Class<UBrowserFavoritesFact> CLClass;
local UBrowserFavoritesFact cl;
CL = new CLClass;
cl.SaveFavorites();
}
am i launching this right?. i dont think i need to go all the way to make a fake window.
Last edited by a moderator: