Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsSubmerged

Last wiki revision 2022-07-21

Returns whether the player character is submerged in water. isSubmerged = IsSubmerged

  • isSwimming: - 1 if the player is submerged, nil otherwise.
  • This function is similar to, but also returns 1 when running at the bottom of a surface of water.
  • This function is available within the RestrictedEnvironment

Source

https://warcraft.wiki.gg/wiki/API_IsSubmerged · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.