I want to simulate an effect where an NPC (or the player) wearing full heavy armor (or just carrying a lot of weight) would go into the water, and would then sink and drown. I'm thinking the best way to do this would be to set an NPC's speed to 0 (or just very low) when in the water if they are carrying over X% of what they can carry total. However, if someone were on the surface of the water, the most this would make them do would be to freeze them on the surface without being able to move.
Does anybody know how I could make an NPC or the player sink automatically when they are in the water?