If I read and understand this right you should be able to do this however the looping is tricky using your 16 X 3 layer setup
The best analogy I can think of is a analog watch -the seconds hand is a allowed to wrap around. a corresponding GKC is automatically fired to check and advance (or reverse) the minute hand (next layer) based on direction whenever the seconds = 0 (Seconds Layer_Level = 1), repeat for minutes to hours. Whenever the GKC is fired it acts upon a trigger on that layer which changes that layer level and then also checks its own level# for its own GKC Not to clear I know. English has never been my strong suit :-) _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of carrington_ward Sent: Sunday, October 01, 2006 2:12 PM To: [email protected] Subject: [vassalengine] Triggering triggers with triggers? Tim, Thanks again for your help on this. I'm once again up against Vassal's Clausewitzian character: "in vassal everything is simple, but the simplest things are difficult." I wonder if anyone has a thought about how to handle a problem I'm facing with Vietnam population: as I noted, I digitized it to match the game: 1-,1_,1+ of two different layers, the numerals and the +/_/- suffix: essentially an eccentric base 3 number system. Once digitized, this presents three challenges, especially if I want to increment the suffix "digits" by more than one -- A) Floor: how to get the suffix digits to stop spinning at 0-: so that decrementing one step from 1- will go to 0+, but 0- decremented one step will stay 0-. B) Ceiling: Ditto at an arbitrary ceiling (often 15). C) Triggers for the above are not bad, but they seem to break repetition: I have not yet found a way to build a trigger that will fire my basic counting triggers repeatedly. (I'd like to be able to build a "decrement two" trigger that should fire two "decrement one" triggers in succession.) I can only use the "decrement one" triggers twice in succession if I get rid of the "property match" conditionals that make them respect floor and ceiling. I'm reluctant to move back to defining "decrement 2" through "decrement 6" and "increment 2 through increment 7" independently -- the trigger conditions look like they'd get awfully nasty, especially because I don't know how to define an "else" command when the triggers fail. I suppose my best bet would be to fall back from the double digit layering to (instead of 16 layers X 3 Layers, I can go to 48 layers). But this is tedious as well... Any thoughts on this would be much appreciated. Best, Carrington [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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/vassalengine/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/
