This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hello,
I'm trying to implement a VGUI screen in-game, but have failed on the finish line I think... Here's the scenario: * I've created a vgui_screen entity in my level and set the panel name to 'vgui_onebutton_screen' * I've added the following entry in vgui_screens.txt in my script folder "vgui_onebutton_screen" { "type" "vgui_onebutton_panel" "pixelswide" 320 "pixelshigh" 240 "resfile" "scripts/screens/vgui_onebutton_screen.res" } * I've copied the vgui_test_screen.res and called it vgui_onebutton_screen.res. * I've added a Panel which inherits from CVGuiScreenPanel and declared: DECLARE_VGUI_SCREEN_FACTORY( CMyPanel, "vgui_onebutton_panel" ) On top of that, I've also implemented the code fix mentioned here <http://developer.valvesoftware.com/wiki/VGUI_Screen_Creation>. Now, everything seems to work fine at startup. Both classes gets created, I can see the VGUI in-game, but when I press the one button, I can follow the code to the point of: child->FireActionSignal(), but nothing happends. No OnCommand() gets called on the panel. Any ideas? Anyone?! Thanks in advance if anyone posts an answer or a clue to what might be wrong. /Gregor -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders