IsSwimming - Actor

SKSE Member of: Actor Script

Checks to see if this actor is currently swimming.

SyntaxEdit

bool Function IsSwimming() native

ParametersEdit

None.

Return ValueEdit

Whether this actor is swimming.

ExamplesEdit

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

See AlsoEdit