Function eos_rs::api::dungeon_mode::is_position_in_sight
source · pub fn is_position_in_sight(
_ov29: &OverlayLoadLease<29>,
origin: &position,
target: &position,
user_has_dropeye: bool
) -> bool
Expand description
Checks if a given target position is in sight from a given origin position.
There’s multiple factors that affect this check, but generally, it’s true if both positions are in the same room or within 2 tiles of each other.