Morrowind Mod:GetLineOfSight
The UESPWiki – Your source for The Elder Scrolls since 1995
GetLOS
GetLineOfSight
GetLOS, ObjectID GetLineOfSight, ObjectID (undocumented) Where: ObjectID = Object to check the line of sight with. Type: Movement Returns: short Example: if ( GetLOS, Player == 1 ) if ( GetLineOfSight, Player == 1 ) if ( "arara uvulas"->GetLOS, "ashamanu" == 1 ) Scripts: balynScript BILL_synette_jeline
Returns 1 if the calling object has a line of sight to other given ObjectID, or 0 otherwise. May not work correctly if used on non-actor objects. Both versions of the function should be identical.