>> Version 2.7 has a trait to limit access to actions. You can set the >> properties to something like "playerSide = Blue || currentZone != >> BlueTable." You can also use a Private Window that's visible to all players >> but only manipulatable by the owner.
>Ah, see, now I think we are getting into something I would LOVE to >know more about. If have looked but I haven't seen anything regarding >any formatting like this. If I am reading what you have there >correctly, that is playerSide = Blue if CurrentZone does not equal >BlueTable. Is that right? I am primary a C and Java coder and that >looks similar to a ?: statement. Is there some help file that will >tell me about these kind of structures with regards to Vassal? Being >able to put conditionals into my values would help considerably. These are 'Property Filter' statements, used in Global Key Commands and the new Restrict Commands trait. Adding playerSide = Blue || currentZone != BlueTable to a Restict Commands trait will restrict the specified commands if the playing doing the right-click is the "Blue" player, OR if the counter is not currently sitting in a map Zone called "BlueTable" These are described in detail in the VASSAL reference manual for starters (You know...what you get when you click on Help in the Module editor...). There is also more stuff in the FAQ at http://wiki.vassalengine.org/doku.php. I have started to put together some advanced tutorials on the wiki at http://wiki.vassalengine.org/doku.php?id=user_tutorials:advanced but these are far from complete, I just don't have the time to do everything. Regards, Brent. ____________________________________________________________ Brent Easton Analyst/Programmer University of Western Sydney Email: [EMAIL PROTECTED] 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/
