GetWaterImmersionPerc

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns a value in the range of 0.0 to 1.0, indicating the percent of the calling actor's body currently immersed in water.

A value greater than 0.875 indicates the calling actor is diving (holding breath).

Syntax

[help]
(immersionPerc:float) reference.GetWaterImmersionPerc

Example

set fImmersionPerc to rActorRef.GetWaterImmersionPerc 

See Also