# Link a game piece to a card

**URL:** https://forum.vassalengine.org/t/link-a-game-piece-to-a-card/709
**Category:** Module Design
**Created:** [June 9, 2008, 10:15pm UTC](https://forum.vassalengine.org/t/link-a-game-piece-to-a-card/709 "2008-06-09T22:15:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![emaluzer](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/e/eb9ed0/32.png) [@emaluzer](https://forum.vassalengine.org/u/emaluzer)
#### Post date: [June 9, 2008, 10:15pm UTC](https://forum.vassalengine.org/t/link-a-game-piece-to-a-card/709/1 "2008-06-09T22:15:44Z")

</div>

I want to link a game piece to a card so that the pieces gets activated when the card is drawn. I was reading the how to link a piece to a chit section and I think I got lost. If someone could point me in the right direction, or provide a step by step I would greatly appreciate it!

---

<div class="post-metadata">

### Author: ![rk1](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rk1](https://forum.vassalengine.org/u/rk1)
#### Post date: [June 10, 2008, 7:47pm UTC](https://forum.vassalengine.org/t/link-a-game-piece-to-a-card/709/2 "2008-06-10T19:47:17Z")

</div>

On the Map Window, specify a key command that gets executed when a piece enters the map. On the card, set this key command to correspond to a Global Key Command trait. Have the Global Key Command pick out the pieces you want to activate. You can also have the card set a global property that the Global Key Command uses to pick out the pieces it will activate.

rk

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![emaluzer](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/e/eb9ed0/32.png) [@emaluzer](https://forum.vassalengine.org/u/emaluzer)
#### Post date: [June 10, 2008, 10:39pm UTC](https://forum.vassalengine.org/t/link-a-game-piece-to-a-card/709/3 "2008-06-10T22:39:46Z")

</div>

I tried to follow but I am still not getting it. Is there an easy example I could follow or a mod with this type of behavior. Or if anyone can create an example so I can see what I may be doing wrong.
