Hi,

Some Traits have inbuilt properties that can be used to examine the state of 
pieces. See 
http://wiki.vassalengine.org/doku.php?id=faq_modules#what_system_properties_are_returned_by_counters
 for full details.

For the Rotation, you can check

   foobar_Facing!=1

To check that a the facing of a Can Rotate trait named foobar is not equal to 1.

You have a number of options for checking if pieces have moved that will depend 
on how you setup things:

1. Check the Moved property:-

   Moved=true

2. Use Zones to to mark the 'Home base' for units, then you can check

   CurrentZone!=name_of_home_zone

3. Use a Dynamic Property and the 'Send Key after move to map' option to set a 
property value on any units that move.

Regards,
Brent.

*********** REPLY SEPARATOR  ***********

On 1/07/2006 at 5:27 PM dcholtx  wrote:

>Can someone help me to understand how to use the following features?
>
>Here is the problem:
>
>At the end of a turn, pieces that have been rotated need to be
>unrotated and different pieces that has been moved needs to be back to
>their starting region. I have a global key to "Ready" both types of
>pieces, which works well. The rotating piece responds to the unrotate
>command and the "send to" command works for the pieces that needs to
>move back to another region of the map. Unfortunately the unrotated
>and unmoved pieces also respond to this global command. How do I set a
>value for the property of a piece when it is rotated or moved and then
>test that value when the global key command is executed?
>
>TIA
>dch
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 30/06/2006


____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: [EMAIL PROTECTED]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to