DayZ Enforce
Script API
Private Member Functions | List of all members
Man Class Reference

#include <gameplay.h>

Inheritance diagram for Man:
EntityAI ManBase SurvivorPartsFemaleWhite LightAI PlayerBase LightAIBase SurvivorBase Animal Zombie AnimalBase ZombieBase ZombieEngine

Private Member Functions

proto void  DisableSimulation (bool disable)
 
proto bool  PlayActionGlobal (string action)
 
proto bool  PlayActionNowGlobal (string action)
 
proto bool  PlayMoveGlobal (string move)
 
proto bool  PlayMoveNowGlobal (string move)
 
proto void  SwitchMoveGlobal (string move)
 
proto void  SwitchActionGlobal (string action)
 
proto bool  CanOpenInventory ()
 
proto int  GetQuickBarSize ()
 
proto bool  CanAddEntityToQuickBarEx (EntityAI item, int index)
 
proto EntityAI  GetEntityInQuickBar (int index)
 
proto EntityAI  GetEntityInHands ()
 
proto bool  HasEntityInHands (EntityAI e)
 
proto bool  CanAddEntityInHands (EntityAI e)
 
proto bool  CanRemoveEntityInHands ()
 
proto void  SetAnimVariableInt (string name, int value)
 
proto void  SetAnimVariableFloat (string name, float value)
 
proto void  SetAnimVariableBool (string name, bool value)
 
proto void  SetAnimVariableString (string name, string value)
 
proto void  SetShakeBodyFactor (float value)
 
proto void  SetShakeHandsFactor (float value)
 
proto vector  GetCameraDirection ()
 
proto vector  GetCameraPosition ()
 
proto void  AddNoise (string noiseTypeName)
 
proto float  GetPresenceInAI ()
 
proto string  GetCurrentWeaponMode ()
 
proto float  GetCurrentZeroing ()
 
proto int  GetLifeState ()
  Returns Life State of player, possible values are LifeStateAlive, LifeStateDead, LifeStateAsleep, LifeStateUnconscious. More...
 
proto void  SetSpeechRestricted (bool state)
  Set speech restriction. More...
 
proto bool  IsSpeechRestricted ()
  Check if player has resctricted speech. More...
 
proto void  SetFaceTexture (string texture_name)
  Texture that is used on the Man's face and hands. More...
 
proto void  SetFaceMaterial (string material_name)
  Material that is used on the Man's face and hands. More...
 
bool  IsMan ()
 
void  EEItemIntoHands (EntityAI item)
 
void  EEItemOutOfHands (EntityAI item)
 
bool  SetEntityShortcut (EntityAI item, int index)
 
bool  CanDropEntity (EntityAI item)
 
bool  DropEntity (EntityAI item)
 
bool  TakeEntityToHands (EntityAI item)
 
bool  MoveItemFromHandsToInventory (EntityAI item)
 
bool  RemoveItemFromHands (EntityAI item)
 
bool  SwapEntities (EntityAI item1, EntityAI item2)
 
void  TestSQF (int number, string text, vector vec)
 
void  PerformAction (Action action)
 
void  Man ()
 

Constructor & Destructor Documentation

void Man::Man ( )
private

References SetFlags().

Member Function Documentation

proto void Man::DisableSimulation ( bool  disable )
private
proto bool Man::PlayActionGlobal ( string  action )
private
proto bool Man::PlayActionNowGlobal ( string  action )
private
proto bool Man::PlayMoveGlobal ( string  move )
private
proto bool Man::PlayMoveNowGlobal ( string  move )
private
proto void Man::SwitchMoveGlobal ( string  move )
private
proto void Man::SwitchActionGlobal ( string  action )
private
proto bool Man::CanOpenInventory ( )
private
proto int Man::GetQuickBarSize ( )
private
proto bool Man::CanAddEntityToQuickBarEx ( EntityAI  item,
int  index 
)
private
proto EntityAI Man::GetEntityInQuickBar ( int  index )
private
proto EntityAI Man::GetEntityInHands ( )
private
proto bool Man::HasEntityInHands ( EntityAI  e )
private
proto bool Man::CanAddEntityInHands ( EntityAI  e )
private
proto bool Man::CanRemoveEntityInHands ( )
private
proto void Man::SetAnimVariableInt ( string  name,
int  value 
)
private
proto void Man::SetAnimVariableFloat ( string  name,
float  value 
)
private
proto void Man::SetAnimVariableBool ( string  name,
bool  value 
)
private

Referenced by ManBase::HideBodyStart().

proto void Man::SetAnimVariableString ( string  name,
string  value 
)
private
proto void Man::SetShakeBodyFactor ( float  value )
private
proto void Man::SetShakeHandsFactor ( float  value )
private
proto vector Man::GetCameraDirection ( )
private
proto vector Man::GetCameraPosition ( )
private
proto void Man::AddNoise ( string  noiseTypeName )
private
proto float Man::GetPresenceInAI ( )
private
proto string Man::GetCurrentWeaponMode ( )
private
proto float Man::GetCurrentZeroing ( )
private
proto int Man::GetLifeState ( )
private

Returns Life State of player, possible values are LifeStateAlive, LifeStateDead, LifeStateAsleep, LifeStateUnconscious.

Referenced by InGameMenu::Init(), and MissionGameplay::OnUpdate().

proto void Man::SetSpeechRestricted ( bool  state )
private

Set speech restriction.

proto bool Man::IsSpeechRestricted ( )
private

Check if player has resctricted speech.

proto void Man::SetFaceTexture ( string  texture_name )
private

Texture that is used on the Man's face and hands.

proto void Man::SetFaceMaterial ( string  material_name )
private

Material that is used on the Man's face and hands.

bool Man::IsMan ( )
private
void Man::EEItemIntoHands ( EntityAI  item )
private
void Man::EEItemOutOfHands ( EntityAI  item )
private
bool Man::SetEntityShortcut ( EntityAI  item,
int  index 
)
private
bool Man::CanDropEntity ( EntityAI  item )
private
bool Man::DropEntity ( EntityAI  item )
private

References TryDropEntity().

Referenced by PlayerBase::DropItem().

bool Man::TakeEntityToHands ( EntityAI  item )
private
bool Man::MoveItemFromHandsToInventory ( EntityAI  item )
private
bool Man::RemoveItemFromHands ( EntityAI  item )
private
bool Man::SwapEntities ( EntityAI  item1,
EntityAI  item2 
)
private

References TrySwapEntities().

void Man::TestSQF ( int  number,
string  text,
vector  vec 
)
private

References Print().

void Man::PerformAction ( Action  action )
private

The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)