DayZ 1.24
|
Protected Member Functions | |
void | CCTWaterSurface (float maximal_target_distance=UAMaxDistances.DEFAULT, string surfaceType="") |
override bool | Can (PlayerBase player, ActionTarget target) |
override bool | CanContinue (PlayerBase player, ActionTarget target) |
Protected Attributes | |
const int | HEIGHT_DIFF_LIMIT_METERS = 1.0 |
float | m_MaximalActionDistanceSq |
string | m_SurfaceType |
ref array< string > | m_AllowedSurfaceList |
DEPRECATED. | |
Definition at line 1 of file CCTWaterSurface.c.
|
inlineprotected |
Definition at line 9 of file CCTWaterSurface.c.
References m_AllowedSurfaceList, m_MaximalActionDistanceSq, and m_SurfaceType.
|
inlineprotected |
use hit position from ActionTarget otherwise player's position
special handling for sea
Definition at line 18 of file CCTWaterSurface.c.
References Math::AbsFloat(), Surface::AllowedWaterSurface(), vector::DistanceSq(), g_Game, HEIGHT_DIFF_LIMIT_METERS, m_AllowedSurfaceList, m_MaximalActionDistanceSq, and vector::Zero.
|
inlineprotected |
Definition at line 51 of file CCTWaterSurface.c.
Definition at line 3 of file CCTWaterSurface.c.
Referenced by Can().
DEPRECATED.
Definition at line 7 of file CCTWaterSurface.c.
Referenced by Can(), and CCTWaterSurface().
|
protected |
Definition at line 5 of file CCTWaterSurface.c.
Referenced by Can(), and CCTWaterSurface().
|
protected |
Definition at line 6 of file CCTWaterSurface.c.
Referenced by CCTWaterSurface().