> >2. Is there a way I can make the trait "Does not stack" only apply
> >when a piece is on a particular board or map window?
>
> This one is particularly interesting. With the 'Restrict Commands' trait,
> we now have a general purpose method of hiding any Key Commands using
> 'Property Filters' and preventing the action associated with the Key Command
> from occurring.


The solution I was thinking of was to use a Dynamic Property with the same
name as the property tied to Does Not Stack.  Then trigger that property
change when you place it on the other map.  That property name isn't
documented, though, and it doesn't return a simple string, but those would
be easy fixes for 2.8.

This is essentially a Property Override rather than a Property Filter.  All
that needs to be done to support it is to have a way for Dynamic Property to
pass through a property from an inner trait.

rk


[Non-text portions of this message have been removed]



 
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