CanFlyHere

Returns 1 if the reference is in a worldspace and if that worldspace has max height data. Returns 0 otherwise.

Max height data is defined in the WRLD/MHDT subrecord, and is used to help prevent flying actors like dragons from clipping into terrain.