FutureProg functions
isunderwater
Boolean isunderwater(Location Location, Text Layer)
Contexts: computer function, computer program, standard futureprog
This function allows you to test whether a particular room layer in a location is currently underwater. Possible values for layers are VeryDeepUnderwater, DeepUnderwater, Underwater, GroundLevel, OnRooftops, InTrees, HighInTrees, InAir, HighInAir. See function ROOMLAYERS for how to obtain the list of room layers for a location.
Location: The location whose layers you want to check for being underwater
Layer: The room layer that you want to test for being underwater
Contexts: computer function, computer program, standard futureprog
This function allows you to test whether a particular room layer in a location is currently underwater. Possible values for layers are VeryDeepUnderwater, DeepUnderwater, Underwater, GroundLevel, OnRooftops, InTrees, HighInTrees, InAir, HighInAir. See function ROOMLAYERS for how to obtain the list of room layers for a location.
Location: The location whose layers you want to check for being underwater
Layer: The room layer that you want to test for being underwater