Create account / Log in

open player hand from menu on a counter?

Talk about module design ideas and techniques.

Moderators: Tim M, uckelman

open player hand from menu on a counter?

Postby sfbaddict » March 23rd, 2018, 7:28 pm

Hmm trying to add a menu option on a right click of a counter that will open the player hand. I have this as a toolbar menu action button but can't seem to figure out how to add as a menu item on a counter.
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am

Re: open player hand from menu on a counter?

Postby DrNostromo » March 24th, 2018, 3:05 pm

I would think you should be able to use a Global Hotkey trait as long as the player hand has a hotkey attached to it. I've never used it for that purpose so I don't know if that would work or not but, in my experience, it should.
User avatar
DrNostromo
 
Posts: 968
Joined: December 21st, 2007, 3:54 am
Location: Wine Country, Cal. USA

Re: open player hand from menu on a counter?

Postby sfbaddict » April 3rd, 2018, 7:05 pm

Ok player hand Hotkey input as ctrl shift 1
Just issuing this on the map opens the player hand.

now to make it a menu option on a counter.

and gloabal hot key worked.

Thanks

I did run into an issue where the initial hotkey was OpenP1 OpenP2 but it wouldn't work, Had to use actual key strokes and ended up using Ctrl Shift #'s
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am

Re: open player hand from menu on a counter?

Postby DrNostromo » April 3rd, 2018, 9:13 pm

I don't know if this will help or not but...

If you have a private window for each player, you can assign the same hotkey to all the windows. Just make sure each window is restricted to a specific player. That way when the hotkey is activated, it would normally open all the private windows. But since each window is assigned to a specific player, only the window for the player initiating the hotkey will open.

I do that all the time as it allows me to put a simple button on the menu bar titled Player Hand. Doesn't matter who clicks, only their player hand will open.
User avatar
DrNostromo
 
Posts: 968
Joined: December 21st, 2007, 3:54 am
Location: Wine Country, Cal. USA

Re: open player hand from menu on a counter?

Postby sfbaddict » April 4th, 2018, 7:47 am

"private window for each player" & "each window is restricted to a specific player"

That's actually how I have it set up.
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am

Re: open player hand from menu on a counter?

Postby sfbaddict » April 5th, 2018, 1:45 pm

SOLVED
sfbaddict
 
Posts: 42
Joined: August 1st, 2015, 2:29 am


Return to Module Design

Who is online

Users browsing this forum: No registered users and 2 guests