hi again,
i apologize if i’m not getting something simple in the docs, but i can’t figure out how to create a button which manipulates property values in general. specifically i want to create a map window level button (like the button that removes the “Moved” icon from all pieces) which can turn zone shading on the map on and off. here are the specifics:
i have several weather related zones on this map, e.g., “Weather - North”, which each have a Global Property (highlight_weather_north = blue, where “blue” is the name of a Zone Highlight object.) the blue shading shows up as it should, but i want to make this something that can be turned on and off by players as they wish.
i’m pretty sure i want to be able to change the value of highlight_weather_north to “NONE” (which does not correspond to any Zone Highlight object (or perhaps i need to explicitly make a NONE Zone Highlight object)), but i can’t figure out how to make a button which would manipulate the value of the highlight_weather_north property.
any pointers would be much appreciated.
(a side issue is that i want to turn off/on multiple zone shadings at once with this button.)
thanks much,
bruce
p.s. i looked through the forum for posts about buttons, but didn’t see anything that i thought i could easily apply… sorry if i missed something.