Im trying to set up my menu within UDk which i have created in flash, however im using march 2012 version of UDK.. in the tutorial its saying i need to remove the ConsoleCommand() line from the Unreal Script within my SWF_menu.ac file but..
Which bit am i supposed to remove, because when i take out "ConsoleCommand("open prototype_stage1")
the script still fails to build...
Any help is appreciated thanks
function OnStartButtonPress(GFxClikWidget.EventData ev)
{
consoleCommand("open prototype_stage1");
}
final function ConsoleCommand(strong Cmd, optional bool bWriteToLog)
{
if (PlayerOwner != none)
PlayerOwner.ConsoleCommand(Cmd, bWriteToLog);
}
defaultproperties
{
WidgetBindings.Add((WidgetName="startBtn",WidgetCl ***=class'GFxClikWidget'))
{
consoleCommand("open prototype_stage1");
}
final function ConsoleCommand(strong Cmd, optional bool bWriteToLog)
{
if (PlayerOwner != none)
PlayerOwner.ConsoleCommand(Cmd, bWriteToLog);
}
defaultproperties
{
WidgetBindings.Add((WidgetName="startBtn",WidgetCl ***=class'GFxClikWidget'))
Which bit am i supposed to remove, because when i take out "ConsoleCommand("open prototype_stage1")
the script still fails to build...
Any help is appreciated thanks
Comment