Hey,
I have a ballista object that shoots an arrow when if statements are true like below;
if (state == "ready" && (collision_line(x+24,y-8,x+TowerRange,y-8,oEnemy,true,true)) && canAttack == true ) //I'm using state to say if the ballista can attack or not but I just tried adding another...