DayZ 1.24
|
Protected Member Functions | |
void | OnServerSteppedOn (Object obj, string damageZone) |
void | CauseVictimToStartLimping (Object obj, string damagedZone) |
void | PlaySoundBiteLeg () |
void | PlaySoundBiteEmpty () |
void | PlaySoundOpen () |
override void | OnActivate () |
override void | OnDisarm () |
override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
override bool | IsDeployable () |
override string | GetLoopDeploySoundset () |
override void | SetActions () |
Private Member Functions | |
void | BearTrap () |
override bool | CanBeDisarmed () |
override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
override void | CreateTrigger () |
override void | OnUpdate (EntityAI victim) |
override void | OnSteppedOn (EntityAI victim) |
override void | OnSteppedOut (EntityAI victim) |
Static Private Attributes | |
static const int | RAYCAST_SOURCES_COUNT = 5 |
static const vector | m_RaycastSources [RAYCAST_SOURCES_COUNT] |
Definition at line 1 of file Trap_Bear.c.
|
inlineprivate |
Definition at line 14 of file Trap_Bear.c.
References m_AnimationPhaseGrounded, m_AnimationPhaseSet, m_AnimationPhaseTriggered, m_DamageOthers, m_DamagePlayers, m_DefectRate, and m_InitWaitTime.
Definition at line 25 of file Trap_Bear.c.
Definition at line 165 of file Trap_Bear.c.
References Class::CastTo().
Referenced by OnServerSteppedOn().
Definition at line 41 of file Trap_Bear.c.
References GetOrientation(), m_TrapTrigger, Trigger::SetExtents(), and TrapTrigger::SetParentObject().
Referenced by SetActive().
|
inlineprivate |
Definition at line 30 of file Trap_Bear.c.
References GetGame(), SetInactive(), and GameConstants::STATE_RUINED.
Definition at line 232 of file Trap_Bear.c.
Definition at line 227 of file Trap_Bear.c.
Definition at line 198 of file Trap_Bear.c.
References PlaySoundOpen().
Referenced by SetActive().
Definition at line 205 of file Trap_Bear.c.
References PlaySoundBiteEmpty().
|
inlineprotected |
Definition at line 216 of file Trap_Bear.c.
References GetGame(), and StartActivate().
Generic limp handling
Definition at line 128 of file Trap_Bear.c.
References Class::CastTo(), CauseVictimToStartLimping(), m_UpdateTimer, Math::RandomIntInclusive(), SetInactive(), and Synch().
Referenced by OnSteppedOn(), OnUpdate(), and OnUpdate().
CarScript specific reaction on BearTrap
this is also called on client (OnRPC->SnapOn->OnSteppedOn chain)
Definition at line 63 of file Trap_Bear.c.
References GetGame(), ItemBase, m_RaycastSources, m_UpdateTimer, OnServerSteppedOn(), PlaySoundBiteLeg(), DayZPhysics::RaycastRVProxy(), and UPDATE_TIMER_INTERVAL.
Referenced by SnapOnObject().
Definition at line 119 of file Trap_Bear.c.
References m_UpdateTimer.
Referenced by RemoveFromObject().
Definition at line 53 of file Trap_Bear.c.
References GetClosestCarWheel(), and OnServerSteppedOn().
|
inlineprotected |
Definition at line 186 of file Trap_Bear.c.
References GetPosition, and SEffectManager::PlaySound().
Referenced by OnDisarm().
|
inlineprotected |
Definition at line 180 of file Trap_Bear.c.
References GetPosition, and SEffectManager::PlaySound().
Referenced by OnSteppedOn().
|
inlineprotected |
Definition at line 192 of file Trap_Bear.c.
References GetPosition, and SEffectManager::PlaySound().
Referenced by OnActivate().
Definition at line 237 of file Trap_Bear.c.
References AddAction().
|
staticprivate |
Definition at line 6 of file Trap_Bear.c.
Referenced by OnSteppedOn().
Definition at line 3 of file Trap_Bear.c.