IsPlayerSwimming

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[help]
(bool) IsPlayerSwimming

Example

if IsPlayerSwimming
   ; Do something
endif

See Also

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