plz help me :(

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Jeroen

New Member
Nov 14, 2001
4
0
0
43
Netherlands
Visit site
I been making a little mod for some of my clanmembers.
But i am a real newbie in programming, and i keep running in a problem which is really start to do me now.

this is the piece of the code

pages = UWindowPageControl(createWindow(Class'UWindowPageControl', 0, 0, winWidth, winHeight - 24));
pages.addPage(ezbKeyBindsWindowTab, Class'ezbKeyBindsWindow');
pages.addPage(ezbCreditsWindowTab, Class'ezbCreditsWindow');


Everytime i compile i get this error:
Error, Call to 'addPage': Type mismatch in parameter 2

how can i fix this?
 

Jeroen

New Member
Nov 14, 2001
4
0
0
43
Netherlands
Visit site
hm no ....... i am not sure to what u mean.

someone told me to add this:

var localized string ezbKeyBindsWindowTab, ezbCreditsWindowTab;

but that still didn't do the trick.

do i have to make a ezbKeyBindsWindowTab class and make ezbKeyBindsWindow a subclass of it?
 

Jeroen

New Member
Nov 14, 2001
4
0
0
43
Netherlands
Visit site
right at the top

class ezbBClientWindow extends UWindowDialogClientWindow;


var UWindowPageControl pages;

var localized string ezbKeyBindsWindowTab, ezbCreditsWindowTab;