View Full Version : UIScene Question (linked into the code)
12-23-2007, 10:10 PM
I've created a player ui scene. It's a menu that can be brought up to show the players skills (and other random stats) earned while playing. It is brought up by an exec function.
Now I'm in the editor trying to figure out how in the hell to populate my UIScene's labels with data and give the buttons actions. :eek:
Can someone please point me in the right direction?
thanks in advance!
12-23-2007, 10:27 PM
ok nevermind I think I found it.
Ok, we need to create a new package to put our UIScene in. Naughty, yes, we could do it with just one package for our entire mutator - but we won't worry about that just yet. We want to get it working now and we can worry about that when we have learnt more about Unreal. Call the package UTUI_Scenes_PlayerTweak. If we wanted to put it in a folder inside the package, we could give it a group name, but since our package is going to be very empty, we won't bother with unecessary organisation. Give the menu the name PlayerTweakConfigMenu. Now we need to tell the editor that our UIScene isn't just a UIScene, but it's also a UTUIFrontEnd_PlayerTweakMenu. Go into the UISceneClass drop down list in the options and look for our UTUIFrontEnd_PlayerTweakMenu class. We're ready to create it now, so we'll hit the OK button.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.