My last reply to this thread seems to have vanished. Try again.
You just use TL > $PN$ The $PN$ will be evaulated and replaced before the expression is tested. Cheers, Brent. >*********** REPLY SEPARATOR *********** > >On 30/09/2006 at 8:44 PM Tim McCaron wrote: >One thing to be sure, > >As you cross reference and compare your properties against each other you >must make sure you have accounted for every possible combination or you >will >find the trigger may break sometimes while in use or function unexpectedly. >2 ways to solve this - a very long property filter list using the || >expression > >Eg: > >TP = 4 && PN <=3 || TP = 3 && PN <=2 || TP = 2 && PN <=1 || TP = 1 && PN = >0 > >Or you can create duplicate triggers stacked with each other in sequence >doing the same thing with the different possible filters > >_____ > >From: [email protected] [mailto:[EMAIL PROTECTED] On >Behalf Of carrington_ward >Sent: Saturday, September 30, 2006 8:12 PM >To: [email protected] >Subject: [vassalengine] Re: Comparing Properties > >Hmm... Kludged around it... >Probably confused myself in a maze of overlapping prototypes. > >Thanks for the response... > >Carrington > >--- In vassalengine@ <mailto:vassalengine%40yahoogroups.com> >yahoogroups.com, "Tim McCaron" ><[EMAIL PROTECTED]> wrote: >> >> >> >> Yes but not that way. >> >> Should work as long as they are numeric values of dynamic >properties which >> are inherit to the piece the trigger acts upon >> >> You have to define both sides of each property. >> >> >> >> Example: >> >> >> >> TP = 4 && PN <= 3 >> >> _____ >> >> From: vassalengine@ <mailto:vassalengine%40yahoogroups.com> >yahoogroups.com >[mailto:vassalengine@ <mailto:vassalengine%40yahoogroups.com> >yahoogroups.com] On >> Behalf Of carrington_ward >> Sent: Saturday, September 30, 2006 5:45 PM >> To: vassalengine@ <mailto:vassalengine%40yahoogroups.com> yahoogroups.com >> Subject: [vassalengine] Comparing Properties >> >> >> >> Doesn't work, I take it.... >> >> Am I correct that I can't set up a trigger TP > PN where TP and PN >are >> both properties? >> ____________________________________________________________ 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/ <*> 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/
