ScriptEvent:isInWater

From Mod Wiki

Jump to: navigation, search

Contents

Parameters

None.

Result

float

Supported By

idEntity

Comments

  • Not all physics types support this, if they do not, they will always return 0.

Functionality

Returns the fraction of the entity which is under water.

Personal tools