if(mouse_left){ ent_create ("bala.mdl", vector(prota.x - 5,prota.y + 7, prota.z + 14), disparar); } action disparar (){ my.scale_x = 0.1; my.scale_y = 0.1; my.scale_z = 0.1; my.pan = your.pan; // face same direction as player while(1) { c_move(my,vector(40*time_step,0,0),NULL,IGNORE_YOU); wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de