Show numPieces on another map

As manual stated the deck_numPieces is a map-level property. But how can I access the number of remaining cards in the deck from other maps?

It may not be possible in the current version. I’ll look into correcting this. Should be doable since deck names are unique for the entire module.

rk

Post generated using Mail2Forum (mail2forum.com)

Its currently not possible according to this thread
vassalengine.org/forums/viewtopic.php?t=1067

I already have an enhancement coded ready for 3.2 that adds namespace scoping to variable name lookups so that all Zone and Map level properties can be accessed from any piece.

B.


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

Post generated using Mail2Forum (mail2forum.com)

Thanks for all replies.

Hmm… I did search through forum before make this topic, but missed that thread. Thanks for pointing me.