Create account / Log in

How to Set a Turn Counter from a GKC

Talk about module design ideas and techniques.

Moderators: Tim M, uckelman

How to Set a Turn Counter from a GKC

Postby kerkael » June 2nd, 2019, 7:27 pm

Hi, help is welcome here :) Tricky to search in the forum as Counter is a too common term.

A Turn Counter can have a Next Turn Hotkey.
A Counter can then be added with Start & increment by values.

The counter is then shown as a Toolbar entry for which I can +/- or set the desired value.

I can't find a way to set the desired value to a fix value from a menu.
How can I propose a Toolbar button to send a : Set Turn Counter to 14 !

Thanks for ideas and suggestions
kerkael
 
Posts: 84
Joined: December 1st, 2017, 3:03 pm

Re: How to Set a Turn Counter from a GKC

Postby ramjack1973 » June 15th, 2019, 4:31 pm

hi, i have not tried using built-in turn counter of vassal. will you consider making one yourself. i did mine using a game piece and giving it a dynamic property. you can the add hot keys to increment or decrease the value by 1 or key to ask the user for a specific value. you can display the value on the game piece by using text label property calling the name you give the dynamic property. i post an example i made in this thread: round counter. i hope this helps
ramjack1973
 
Posts: 3
Joined: May 28th, 2019, 2:31 am

Re: How to Set a Turn Counter from a GKC

Postby kerkael » June 19th, 2019, 3:53 pm

Thanks. I've seen your answer quite fast and was expecting other answers. But I may try your way ... some day :)
kerkael
 
Posts: 84
Joined: December 1st, 2017, 3:03 pm


Return to Module Design

Who is online

Users browsing this forum: No registered users and 3 guests

cron