11-15-2007, 04:07 PM
A suggestions if you do not already have it. You can simulate a "While Mana <= xx", by doing a for loop that checks the looping conditions in the beginning.
eg (this is just pseudo):
For 100
If Mana <= 98
Mediate
Wait 3 sec
End If
End For
You will only trigger the wait if you are actually meditating, and skip the rest. If you are in an "empty" loop, it will take about 1/10th of a second to finish it, so no big deal if your for loop has a big value.
Hope it helps.
eg (this is just pseudo):
For 100
If Mana <= 98
Mediate
Wait 3 sec
End If
End For
You will only trigger the wait if you are actually meditating, and skip the rest. If you are in an "empty" loop, it will take about 1/10th of a second to finish it, so no big deal if your for loop has a big value.
Hope it helps.