Deck location Global Variable

Oook

supposedly as of like 2.9 you should be able to use the Send to Location with variables. The problem is I can’t seem to get it to work.

Bad Data in Module: Attack [Send to Location] - Numeric field contains a non-number Xlocation[$Player1DiscardX$]=Player1DiscardX

I have a deck Player1Discard and I cannot for the life of me get it to the the X location of that deck so I can send the card to it. The overall plan is to do $$playerSide$DiscardX$ so that each player can discard their own cards to their own decks. However I cannot for the life of me get it to read any variable I have sent at it.

On a related note
Is there somewhere that lists all of the global properties that exist and how to access them? If not, why not?

There was a bug in STL with variables, see
https://forum.vassalengine.org/t/pme-in-stl/4398/1

This has been fixed and will be in next release (3.1.18)

The list of vassal pre defined properties can be found here

vassalengine.org/wiki/Faq_mo … perties_ar
e_returned_by_counters.3F

-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of aielman
Sent: Monday, November 28, 2011 3:12 PM
To: messages@vassalengine.org
Subject: [messages] [Module Design] Deck location Global Variable

Oook

supposedly as of like 2.9 you should be able to use the Send to Location
with variables. The problem is I can’t seem to get it to work.

Bad Data in Module: Attack [Send to Location] - Numeric field contains a
non-number Xlocation[$Player1DiscardX$]=Player1DiscardX

I have a deck Player1Discard and I cannot for the life of me get it to the
the X location of that deck so I can send the card to it. The overall plan
is to do $$playerSide$DiscardX$ so that each player can discard their own
cards to their own decks. However I cannot for the life of me get it to
read any variable I have sent at it.

On a related note
Is there somewhere that lists all of the global properties that exist and
how to access them? If not, why not?


Read this topic online here:
https://forum.vassalengine.org/t/deck-location-global-variable/4471/1

Thanks for the list, though that doesn’t contain any information about a Decks X and Y location. Does that variable not actually exist? Or is it supposed to be CurrentX and CurrentY