What I need now is a mod that includes interiors acting as exteriors, since I don't know if the same method works for them as well. Could someone tell me what mod to download?
begin ab01underWaterCheckScript; interior water check based on Zappara's temperature mod script; player must be moving / not levitating to emit splash soundsshort goodWatershort pcUnderWaterfloat z1if ( GetInterior ) if ( player->GetSoundPlaying "FootWaterRight" ) set goodWater to 1 elseif ( player->GetSoundPlaying "FootWaterLeft" ) set goodWater to 1 else set goodWater to 0 endifelse set goodWater to 1endifif ( goodWater ) set z1 to ( player->GetPos Z ) set z1 to ( z1 - GetWaterLevel ) if ( z1 < -64 ) ; this is just an example, probably it would be better change -64 to something good for all races set pcUnderWater to 1 else set pcUnderWater to 0 endifendiffloat delayif ( delay > 0 ) set delay to ( delay - GetSecondsPassed ) returnendifif ( pcUnderWater ) MessageBox "player under water detected" set delay to 4endif end