#My Towers are shooting the enemies outside the radius

13 messages · Page 1 of 1 (latest)

exotic kiln
#

the only way you reset the target to noone right now is if they stop existing.

you should add a distance check to that too. if they're out of the circle (point_distance > radius), they basically don't exist, so stop targetting it

#

5

#

next to the instance_exists == false

#

if instance_exists == false or point_distance > radius

#

let's see code?

#

right. you copied my shorthand code

#

you need to fill out the arguments of the function

#

instance_exists( something goes here )

point_distance(something goes here)

#

point_distance is good

#

instance_exists is still wrong

#

you had it correct before