I guess that's what I'll have to do, I can intercept slot1, slot2, etc...
commands I hope right?  I'm working on a war3 mod for CSS :)

Josh

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, December 06, 2004 12:47 PM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] Displaying a menu to a player

well you should be able to simulate it...
just display the options as you would display any other hud msg.
and then while it's shown intercept the keys (1 to 0) and then issue
a command or event or whatever suits you...

it's just more work than in the good old times, but you can make it
a sexy vgui1-emu module and release the code so more people can profit from
it :)

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Josh
Sent: Monday, December 06, 2004 6:34 PM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] Displaying a menu to a player

There really isn't support for the old HL1 style menus?  That will be really
bad :(  Requiring the player to press escape isn't fun.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morten Striboldt
Sent: Monday, December 06, 2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: SV: [hlcoders] Displaying a menu to a player

The only way I can think of this when creating a plugin, is to execute
escape on the client after you have called the DIALOG_MENU.
Like:
engine->ClientCommand( pEntity, "cancelselect");

-Morten


> -----Oprindelig meddelelse-----
> Fra: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] På vegne af Josh
> Sendt: 6. december 2004 17:24
> Til: [EMAIL PROTECTED]
> Emne: RE: [hlcoders] Displaying a menu to a player
>
> IS there a menu capability that doesn't require the user to
> press escape and choose an option? Similar to the non-VGUI
> menus of HL1 ?  I don't want to require the user to press
> escape every time they will see a certain menu (which could
> be up to 2 times per round).
>
> Thanks,
> Josh
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Alfred Reynolds
> Sent: Monday, December 06, 2004 1:39 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [hlcoders] Displaying a menu to a player
>
> You need to use the messaging interface, it provides a menu
> capability along with generic text dialogs.
>
> - Alfred
>
> ----Original Message----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Josh Sent:
> Sunday, December 05, 2004 7:24 PM To: [EMAIL PROTECTED]
> Subject: [hlcoders] Displaying a menu to a player
>
> > Was wondering if this is possible or if anyone has done
> this yet?  I
> > don't mean the sample menus that were shown that require
> you to press
> > escape.  I mean menus similar/better than those found in HL1?  (The
> > non-VGUI menus) And if so, how would I catch which option the user
> > presses?
> >
> > Thanks,
> > Josh
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the
> list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to