Or
function movetowards(sourceentity,targetentity,speed#,how_close#)
pointentity sourceentity,targetentity
moveentity sourceentity,0,0,speed
if entitydistance(sourceentity,targetentity)<how_close# then return true else return false
end function
function movetowards(sourceentity,targetentity,speed#,how_close#)
pointentity sourceentity,targetentity
moveentity sourceentity,0,0,speed
if entitydistance(sourceentity,targetentity)<how_close# then return true else return false
end function