Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy

Functions

proto native bool IsOcean ()
 
proto native float GetOceanHeight (float worldX, float worldZ)
 
proto native vector GetOceanHeightAndDisplace (float worldX, float worldZ)
 

Variables

float Fraction
 
int Content
 
int Surfparm
 
int MaterialFlags
 
int Triangle
 
int SurfaceID
 
owned string MaterialName
 
owned string OriginalMaterialName
 
float Plane [4]
 
vector Point
 

Detailed Description

Function Documentation

◆ GetOceanHeight()

proto native float GetOceanHeight ( float  worldX,
float  worldZ 
)

Get water ocean height at given point

Parameters
worldXworld x position
worldZworld z position

◆ GetOceanHeightAndDisplace()

proto native vector GetOceanHeightAndDisplace ( float  worldX,
float  worldZ 
)

Get water ocean height and displacement at given point, returns vector(displaceX, height, displaceZ)

Parameters
worldXworld x position
worldZworld z position

◆ IsOcean()

proto native bool IsOcean ( )

Is ocean availabled

Variable Documentation

◆ Content

int Content

Definition at line 161 of file enworld.c.

◆ Fraction

float Fraction

Definition at line 160 of file enworld.c.

◆ MaterialFlags

int MaterialFlags

Definition at line 163 of file enworld.c.

◆ MaterialName

owned string MaterialName

Definition at line 166 of file enworld.c.

◆ OriginalMaterialName

owned string OriginalMaterialName

Definition at line 167 of file enworld.c.

◆ Plane

float Plane[4]

Definition at line 168 of file enworld.c.

◆ Point

vector Point

Definition at line 169 of file enworld.c.

◆ SurfaceID

int SurfaceID

Definition at line 165 of file enworld.c.

◆ Surfparm

int Surfparm

Definition at line 162 of file enworld.c.

◆ Triangle

int Triangle

Definition at line 164 of file enworld.c.