while (vec_dist (my.x, my_target.x) > 50) { c_move (my, vector(20 * time_step, 0, 0), nullvector, GLIDE); ent_animate(my, "run", run_percentage, ANM_CYCLE); run_percentage += 6 * time_step; wait(1); } my.skill99 = 0; while (my.skill99 < my_target.skill1) { my.status = attacking; wait(1); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de