while(1) { if (ent_owner) { vec_set (my.x, ent_owner.x); my.z += 15; my.scale_x = ent_owner.health * 0.2; // skill20 aka "health" stores the health for each entity } else { ent_remove(me); // remove bar } wait (1); // move "while - wait " here } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de