Need help with tapping/untapping cards...

Howdy,

I’ve been over several examples, and checked and re-checked my code, but not no avail. I’m 100% sure I’m missing something obvious.

I’ve uploaded the latest version of the module (it’s about 4 MB) here (dl.dropbox.com/u/7601097/Ascensi … nsion.vmod), with the untap/tap code. Specifically, take a look at the Prototype Definition for P_Type, which has all of the properties for tapping/untapping the cards.

If anyone can take a look at it and tell me what I missed, that would be much appreciated. Thanks!

Yes, you missed something.

In your trigger actions, both for tapping and untapping you are firing off
keystrokes that don’t exist anywhere else

i.e the key commands Ctrl Shift Close Bracket and Ctrl Shift Open Bracket

Presumably these will tie in to the Can Rotate trait somehow which uses the
keys Ctrl Open Bracket and Ctrl Close Bracket - no Shift!

Either these keys are supposed to be the same or you need something to tie
in your Ctrl Shift Close Bracket to Ctrl Close Bracket and Ctrl Shift Open
Bracket to Ctrl Open Bracket

-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of eekamouse
Sent: Sunday, January 30, 2011 7:37 PM
To: messages@vassalengine.org
Subject: [messages] Edit: [Module Design] Need help with
tapping/untappingcards…

[This message has been edited.]

Howdy,

I’ve been over several examples, and checked and re-checked my code, but
not no avail. I’m 100% sure I’m missing something obvious.

I’ve uploaded the latest version of the module (it’s about 4 MB) here
(dl.dropbox.com/u/7601097/Ascensi … nsion.vmod[1]), with the
untap/tap code. Specifically, take a look at the Prototype Definition
for P_Type, which has all of the properties for tapping/untapping the
cards.

If anyone can take a look at it and tell me what I missed, that would be
much appreciated. Thanks!

[1] dl.dropbox.com/u/7601097/Ascensi … nsion.vmod


Read this topic online here:
https://forum.vassalengine.org/t/need-help-with-tapping-untapping-cards/3628/1

BAM!!

Are you on BGG? I want to tip you some GeekGold :slight_smile:

Thank you VERY much. I knew it was something ridiculous.