Place Marker, or something else?

The module I’m working on uses cards as units: when it’s in your hand it’s a card, but when it’s on the table it’s a unit. So I want to be able to add a “health token” to a card when it becomes a unit, and it want that token to be linked to the card, so when I move the unit the token moves also. My instinct is to give the card the Place Marker property, so that when activated a blood drop image with a text label appears somewhere on the card.

In practice this fails, the Marker only appears when masked, no matter where I place the marker in the property list (either above or below the Mask property). Am I missing something, is there a glitch, or should I use a different property?

If it matters, my “cards” aren’t from a deck, but rather from the Game Pieces palette (but they are otherwise identical to cards: Basic Piece and Mask properties only).

First off, I would have used a layer trait instead of a marker, so that it
is always with the card. The layer can be triggered when placed on the
map. If the layer is above the mask trait, it should not be visible when
masked. The mask trait has no effect on markers however.

  • M.

On 23 November 2010 22:12, natural20 sultan_of_dorkistan@yahoo.com wrote:

The module I’m working on uses cards as units: when it’s in your hand
it’s a card, but when it’s on the table it’s a unit. So I want to be
able to add a “health token” to a card when it becomes a unit, and it
want that token to be linked to the card, so when I move the unit the
token moves also. My instinct is to give the card the Place Marker
property, so that when activated a blood drop image with a text label
appears somewhere on the card.

In practice this fails, the Marker only appears when masked, no matter
where I place the marker in the property list (either above or below the
Mask property). Am I missing something, is there a glitch, or should I
use a different property?

If it matters, my “cards” aren’t from a deck, but rather from the Game
Pieces palette (but they are otherwise identical to cards: Basic Piece
and Mask properties only).

It is my understanding that the Layer trait is not editable, thus would not function well as a health counter.

I need the Marker/Layer/Whatever to have an editable text field to indicate the amount of health remaining. Is this something that a Layer trait can accomplish? (I believe I would need several layer traits, one for each health value, so that in order to reflect changing health values I must cycle through several layers. I would like to avoid this level of individualization for each card/unit.)

What you would do in this case is have an additional dynamic property trait
set to prompt the user for a change in value. The layer trait would then
follow this property.

You would only need one layer trait and it would have multiple levels –
each corresponding to a health value and each having its own image.

  • M.

On 24 November 2010 11:09, natural20 sultan_of_dorkistan@yahoo.com wrote:

It is my understanding that the Layer trait is not editable, thus would
not function well as a health counter.

I need the Marker/Layer/Whatever to have an editable text field to
indicate the amount of health remaining. Is this something that a Layer
trait can accomplish? (I believe I would need several layer traits, one
for each health value, so that in order to reflect changing health
values I must cycle through several layers. I would like to avoid this
level of individualization for each card/unit.)

Thanks mkeifte! That method works perfectly. (link)