result = c_scan(my.x,my.pan,vector(120,80,200),IGNORE_ME|SCAN_ENTS); if(result > 0) { if(you == player) { vec_set(aim_target.x,you.x); if(c_trace(my.x,aim_target.x,IGNORE_MODELS) == 0){got_target = 1;}else{got_target = 0;} } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de