Trigger command/keystroke grayed-out?

Hi all,

I have been having some issues with triggers not firing in one of my modules. To see if I was doing something wrong, I created a tea module with one at-start stack which had one piece. On the piece I have 2 traits: basic piece and trigger action.

In the trigger action, I have the menu command box filled (the word “test”) and the KeyStroke box filled (with “ctrl T”).

When I go to right-click on the piece image, the menu item “test ctrl T” is shown, but disabled and grayed out. I have no command restrictions on the piece at all.

Anyone have an idea what I’m doing wrong?

Thanks,
Dave
[/b]

I had the same issue recently as well, with a command on a counter which was supposed to send the piece to a dead pile, and was mysteriously grayed out. Turns out I had forgotten that I changed the name of the map window that the dead pile was located in, and as a result, the command was disabled.

In your case, do you have any actual commands in the trigger sequence? It’s possibly grayed out because a trigger doesn’t actually do anything but fire other commands.

Okay, I checked that map that the board is assigned to and it is correct.

To the trigger action, I have in the “perform these keystrokes” box alt T.

I have a dynamic property (numerical) that is set to 0 and can increment when it receives an “alt T”. I also have a text label with the value of the dynamic property displayed on the piece so I can see if it changes.

Still grayed out.

What Vassal version?

In 3.1.10 onward there was a hidden bug related to trigger since fixed with 3.1.13

Post your demo mod just in case

I am using 3.1.12.

I found that the triggers are actually working if I start a game. They are just greyed out when I am editing. It would make life easier if I could debug withou having to start a game, but it is not the end of the world.

Is that what was changed in 3.1.13? I am at work rightnow and can’t get to the site to download it (I’m checking the forums on my iPhone).

Dave

Possibly.

see the comments in bug 2900930 as to what happened
http://sourceforge.net/tracker/?func=detail&aid=2900930&group_id=90612&atid=594231

From: Neumannium messages@forums.vassalengine.org
To: messages@forums.vassalengine.org
Sent: Fri, January 22, 2010 3:23:40 PM
Subject: [Module Design]Re: Trigger command/keystroke grayed-out?

I am using 3.1.12.

I found that the triggers are actually working if I start a game. They are just greyed out when I am editing. It would make life easier if I could debug withou having to start a game, but it is not the end of the world.

Is that what was changed in 3.1.13? I am at work rightnow and can’t get to the site to download it (I’m checking the forums on my iPhone).

Dave


Messages mailing list
Messages@forums.vassalengine.org (Messages@forums.vassalengine.org)
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)