action earthball_Control() { while(my) { if(my.z < -100) { my.z = 500; } wait(1); } } function main() { ... ... me = eBall; earthball_Control(); //OUTSIDE of any loop ... ... }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de