typedef struct { var model; var damage; var animations; } WEAPON; WEAPON weapons[10]; // 10 Global weapons void init() { weapons[0].model = 1; weapons[0].damage = 35; weapons[0].animations = 2; } action enemy() { WEAPON weapon; weapon.damage = 30; [...] }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de