Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Killing floor (native_2004) strange issue
#1
At UE Explorer
Code:
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
    local int i;

    super(GUIPanel).InitComponent(MyController, MyOwner);
    bClean = true;
    lb_Text.SetContent(DefaultText);
    lb_Text.__OnDraw__Delegate = OnLabelDraw;
    i = NewsLine.Length - 1;
    J0x4f:

    if(i >= 0)
    {
        lb_Text.AddText(NewsLine[i]);
        i -- );
    }
    lb_Text.AddText(" ");
    lb_Text.MyScrollBar.GripPos = 0.00;
    lb_Text.MyScrollBar.CurPos = 0;
    lb_Text.MyScrollBar.MyList.SetTopItem(0);
    lb_Text.MyScrollBar.AlignThumb();
    __OnShow__Delegate = Shown;
}
And the original source
Code:
function InitComponent(GUIController MyController, GUIComponent MyOwner)
{
    local int i;

    Super.InitComponent(MyController, MyOwner);

       bClean = true;
       lb_Text.SetContent(DefaultText);
    lb_Text.OnDraw = OnLabelDraw;
       for(i=NewsLine.Length-1; i>=0; i--)
       {
         lb_Text.AddText(NewsLine[i]);
       }
       lb_Text.AddText(" ");
       lb_Text.MyScrollBar.GripPos = 0;
       lb_Text.MyScrollBar.CurPos = 0;
       lb_Text.MyScrollBar.MyList.SetTopItem(0);
       lb_Text.MyScrollBar.AlignThumb();
       OnShow = Shown;
}
Why it shows J0x4f: ,also why i doesn't show with "for"?
Reply


Messages In This Thread
Killing floor (native_2004) strange issue - by GreenFox - 08-06-2012, 05:37 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)