Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
BrokenLegsMdfr Class Reference
Inheritance diagram for BrokenLegsMdfr:
ModifierBase

Private Member Functions

override bool DeactivateCondition (PlayerBase player)
override void Init ()
override void OnActivate (PlayerBase player)
override void OnDeactivate (PlayerBase player)
override void OnReconnect (PlayerBase player)
override void OnTick (PlayerBase player, float deltaT)

Private Attributes

int currentState = -1
float elapsedTime = TIME_TO_UPDATE + 1
const float HEALTHY_LEG = 100
const float TIME_TO_UPDATE = 0.5

Detailed Description

Definition at line 1 of file brokenlegs.c.

Member Function Documentation

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 50 of file brokenlegs.c.

References HEALTHY_LEG.

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 23 of file brokenlegs.c.

◆ OnDeactivate()

override void OnDeactivate ( PlayerBase player)
inlineprivate

Definition at line 38 of file brokenlegs.c.

◆ OnReconnect()

override void OnReconnect ( PlayerBase player)
inlineprivate

Definition at line 30 of file brokenlegs.c.

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 63 of file brokenlegs.c.

Field Documentation

◆ currentState

int currentState = -1
private

Definition at line 4 of file brokenlegs.c.

◆ elapsedTime

float elapsedTime = TIME_TO_UPDATE + 1
private

Definition at line 6 of file brokenlegs.c.

◆ HEALTHY_LEG

const float HEALTHY_LEG = 100
private

Definition at line 3 of file brokenlegs.c.

Referenced by DeactivateCondition().

◆ TIME_TO_UPDATE

const float TIME_TO_UPDATE = 0.5
private

Definition at line 5 of file brokenlegs.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/conditions/brokenlegs.c