Hello,

I need to be able to apply a global key command only to units that moved. From
what I read in the doc, there is a boolean property named "Moved" for each unit
on the board that indicates the moved status of a units (details in the "Mark
when moved" trait html doc file). I tried to use this property in a trigger and
in a global command but it did not work. I thus devised a mini mod dedicated to
this property testing. You'll find it here: http://aradiel.free.fr/vassal The
mod is named "Moved". You find in there a map with all needed options activated
(Mark pieces that moved=always in the main map options, a mark when moved trait
in the unit prototype). I added a text label showing the content of the Moved
Property for the units (a very useful way to 'debug' faulty triggers and
commands in Vassal when you can't find why your mod does not behave as
expected)

Try as I may, the Moved property of pieces on the board is always evaluated to
false, even if Vassal does correctly tag the units as moved...

Any ideas?

David

Reply via email to