action follower_action() { ENTITY* ent = ptr_for_handle(my.skill10); while(1) { vec_set(my.x,ent.x); wait(1); } } function add_follower(ENTITY* ent) { ENTITY* follower = ent_create(... ,follower_action); if(ent != NULL)follower.skill10 = handle(ent); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de