IsPlayerSwimming

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns true if the player is swimming. Added by NVSE V4.2.

Syntax

(bool) IsPlayerSwimming

Example

if IsPlayerSwimming
   ; Do something
endif

See Also

  • IsSwimming - The equivalent for NPCs, which does not work for player.