FutureProg functions

isunderwater

Roomscomputer function, computer program, standard futureprog

isunderwater overload 1

Boolean isunderwater(Location Location, Text Layer)
Available in
  • 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.
ParameterTypeDescription
Location Location The location whose layers you want to check for being underwater
Layer Text The room layer that you want to test for being underwater