SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-08-11, 05:46 PM   #1
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
TDW's reply needed

Hi TDW,

Might you have the time to look and reply on this posting of mine a few days ago:
http://www.subsim.com/radioroom/show...&postcount=882

There are a few others, besides me, interested in that subject.

Thanks in advance!
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 02-09-11, 09:35 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by ustahl View Post
Hi TDW,

Might you have the time to look and reply on this posting of mine a few days ago:
http://www.subsim.com/radioroom/show...&postcount=882

There are a few others, besides me, interested in that subject.

Thanks in advance!
You should be able to do what you are wanting to do. args.handled=True means that the event (in this case keydown) has been handled and can thus be 'closed' - no further processing needed by the game for it.

In the last patch for NewUIs I changed how hotkey presses worked. Only if the hotkey is enabled, the hotkey is pressed, and any modifiers are active (shift required, control required, etc.) then it will issue an args.hanlded=True. If the conditions are not met then args.Handled isn't set. Thus, theoretically, you should be able to assign say key B to something in the options file and shift+B to something else in the commands.cfg file.
TheDarkWraith is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.