Increasing the range helps me no, if i get 0 as returned distance. So i can't use the "777 < 500+entity.max_x is true" relation.
The reason is the origin of the entity is not in the cone.
I can increase the range even 50000, result will be always 0.