Sorry to be posting every day about new issues but this one is easily the worst for me as I really want to use this feature.
There's an old screenshot for original Amnesia of the cistern entrance flooded and I wanted to use that so I have done exactly that. However, when walking on the platform above, it still makes the water walking / running sounds. To understand what I'm stating:
https://www.youtube.com/watch?v=9rCmOdgOhKU
I also have two script areas to toggle the liquid area, here it is:
AddEntityCollideCallback("Player", "AreaToggleWater", "CollideToggleWater", false, 1);
AddEntityCollideCallback("Player", "AreaToggleWater_1", "CollideToggleWater_1", false, 1);
//---------------------------------------------------------------------------------------------------------------------
/*Toggle Water
*/
void CollideToggleWater(string &in asParent, string &in asChild, int alState)
{
if(GetLocalVarInt("PlayerInWater")==0) return;
SetLocalVarInt("PlayerInWater",0);
SetEntityActive("LiquidArea_1", false);
SetEntityPos("LiquidArea_1", -4.994, -0.91, 50.263); //To move it away from map for safety
AddDebugMessage("OUT WATER", false);
}
void CollideToggleWater_1(string &in asParent, string &in asChild, int alState)
{
if(GetLocalVarInt("PlayerInWater")==1) return;
SetLocalVarInt("PlayerInWater",1);
SetEntityActive("LiquidArea_1", true);
SetEntityPos("LiquidArea_1", -4.994, -0.91, 0.263); //To move it back to map for safety
AddDebugMessage("IN WATER", false);
}