A very simple but helpful demo. This project detects the largest numeric value and will assign it to a new game attribute. No rules or anything fancy. This demo could easily be altered to detect the smallest value by substituting the Max() function for the Min() function.
Simple but helpful in some cases.