IsSwimming - Actor

From Creation Kit
Jump to: navigation, search

SKSE Member of: Actor Script

Checks to see if this actor is currently swimming.

Syntax

bool Function IsSwimming() native

Parameters

None.

Return Value

Whether this actor is swimming.

Examples

if Game.GetPlayer().IsSwimming()
  Debug.Trace("The player is enjoying a swim.")
endIf

See Also