Need some programming hints for a Naval Game

I’m working on a module for a generic WW1 naval game. I have code worked out for the ships, measuring ranges, moving, turning, and displaying ship stack smoke. The item I could use some help with is a global command to rotate ALL the stack smoke on ALL the ships at the same time when the wind direction changes. Currently, I manually select every ship on the board and then press SHIFT-S or CNTL-S to rotate the smoke about each ship. If there’s an existing module that has a similar feature point it out to me and I’ll go see how it’s done. Thank you. Kyle

Sounds like you just need a “Global Key Command” (or two, for each direction). You may add it in your “Main Map” or at the module root.

(just a thought, even if it might not suit your need: the wind direction could be a global property of the map/zone and be displayed by the ships in a layer which “follows an expression value”)

I’ve tried Global Key Commands but just can’t get it to work. That’s why I’m looking for a module with a similar feature I can look at for reference.

I figured out why my Global Key Command wasn’t working. I’m all set and this thread can be considered closed.