Having trouble getting my head around this one.
I have a spaceship, with 4 shields, aft/bow/port/starboard. I've put all of these into a family, with a family variable of health.
10 times per second, I want to check these shields, and if they're not at full strength, they recharge, if there's enough power to recharge them.
So my condition has 'Every 0.1 seconds. Shields - Strength < 100. Power > 1'
Then the action is to recharge each chosen shield and drain the power from the ship. It works in one respect - each shield does recharge. However, the power is only drained once, even if all 4 are recharging. What I assume it does is, if the conditions pass, it does the action once - so if 2 shields are recharging, it recharges each shield, but it still only does the power drain once because it's only one action.
So how do I get it to drained once seperately for each shield? I'd like to do them one by one, so that if for example, there's enough power to charge 1 up, but 2 require recharging, one will recharge but the 2nd won't.