What's a good way to count only specific instances based on PVs that I can send to a Global?
I thought I'd try
For Each MOB
MOB.happiness >= MOB.maxhappy
--> set global : happyMOBs = MOB.Count
However MOB.Count doesn't pick the instances I intended to pick, instead counting every instance, whether the MOB is happy or not. How sad.
Open to suggestions!