[messages] Edit: [General Discussion] Re: Is Math Possible within a Matching Statement?

DrNostromo drnostromo at drnostromo.com
Mon Nov 8 10:33:29 MST 2010


[This message has been edited.]

Vassal does not do math expressions at this time. The next version (3.2)
will have a math engine included.

For now, what you would need to do is use a Dynamic Property or Set
Global Property trait to increase/decrease a value. Then you can use
property filters to compare that value to another value.

There are java math engines you can incorporate into a mod like
Beanshell or Jep but, since Vassal will have a math engine soon, I don't
know if you want to go through the trouble and potentially risk
compatibility issues with future versions of Vassal.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=20506#p20506


More information about the messages mailing list