Quote:
Originally Posted by X-Raym
Hi,
there is absolutely no randomness in how API function behaves.
Bit if you want to move items, store them in a table before, and then loop in your table to do your position offset.
|
Thank you for your answer (and, of course, for all your scripts, documentation, and tutorials that I am happy to use). I am indeed doing exactly that now. I retrieve information about item positions and then move them. And I’m accomplishing this within a single for loop. Your advice has made me realize that I might encounter unpredictable behavior if I retrieve items and simultaneously change their positions in the same loop. I’ll take your guidance to heart and revise my code accordingly. Thanks once again!