Forum Discussion
Colin_McCrae
11 years agoCommunity Hero
Put it in a loop with two possible exit conditions.
Exit condition 1 = the object is now in the state you require (check for this inside the loop obviously)
Exit condition 2 = how long to wait until it becomes available (so you can't get stuck inside an eternal loop)
Then base your actions after the loop on which exit condition was met.
Exit condition 1 = the object is now in the state you require (check for this inside the loop obviously)
Exit condition 2 = how long to wait until it becomes available (so you can't get stuck inside an eternal loop)
Then base your actions after the loop on which exit condition was met.