![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| void | CauseVictimToStartLimping (Object obj, string damagedZone) |
| override string | GetLoopDeploySoundset () |
| override bool | IsDeployable () |
| override void | OnActivate () |
| override void | OnDisarm () |
| override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
| void | OnServerSteppedOn (Object obj, string damageZone) |
| void | PlaySoundBiteEmpty () |
| void | PlaySoundBiteLeg () |
| void | PlaySoundOpen () |
| override void | SetActions () |
Private Member Functions | |
| void | BearTrap () |
| override bool | CanBeDisarmed () |
| override void | CreateTrigger () |
| override void | EEHealthLevelChanged (int oldLevel, int newLevel, string zone) |
| override void | OnSteppedOn (EntityAI victim) |
| override void | OnSteppedOut (EntityAI victim) |
| override void | OnUpdate (EntityAI victim) |
Static Private Attributes | |
| static const vector | m_RaycastSources [RAYCAST_SOURCES_COUNT] |
| static const int | RAYCAST_SOURCES_COUNT = 5 |
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.
|
inlineprivate |
Definition at line 25 of file trap_bear.c.
Definition at line 177 of file trap_bear.c.
References Class::CastTo().
Referenced by OnServerSteppedOn().
|
inlineprivate |
Definition at line 43 of file trap_bear.c.
References GetOrientation(), and m_TrapTrigger.
Referenced by SetActive().
Definition at line 30 of file trap_bear.c.
References g_Game, SetInactive(), and GameConstants::STATE_RUINED.
|
inlineprotected |
Definition at line 244 of file trap_bear.c.
|
inlineprotected |
Definition at line 239 of file trap_bear.c.
|
inlineprotected |
|
inlineprotected |
Definition at line 217 of file trap_bear.c.
References PlaySoundBiteEmpty().
|
inlineprotected |
Definition at line 228 of file trap_bear.c.
References g_Game, and StartActivate().
Referenced by OnFinishProgressServer().
Generic limp handling
Definition at line 136 of file trap_bear.c.
References Class::CastTo(), CauseVictimToStartLimping(), m_UpdateTimer, Math::RandomIntInclusive(), SetInactive(), and Synch().
Referenced by OnSteppedOn(), OnUpdate(), and OnUpdate().
|
inlineprivate |
CarScript specific reaction on BearTrap
this is also called on client (OnRPC->SnapOn->OnSteppedOn chain)
Definition at line 67 of file trap_bear.c.
References RaycastRVParams::flags, g_Game, m_RaycastSources, m_UpdateTimer, OnServerSteppedOn(), PlaySoundBiteLeg(), RaycastRVParams::radius, DayZPhysics::RaycastRVProxy(), RaycastRVParams::type, and UPDATE_TIMER_INTERVAL.
Referenced by SnapOnObject().
|
inlineprivate |
Definition at line 125 of file trap_bear.c.
References m_UpdateTimer.
Referenced by RemoveFromObject().
|
inlineprivate |
Definition at line 55 of file trap_bear.c.
References GetClosestCarWheel(), and OnServerSteppedOn().
|
inlineprotected |
Definition at line 198 of file trap_bear.c.
References GetPosition(), SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Referenced by OnDisarm().
|
inlineprotected |
Definition at line 192 of file trap_bear.c.
References GetPosition(), SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Referenced by OnSteppedOn().
|
inlineprotected |
Definition at line 204 of file trap_bear.c.
References GetPosition(), SEffectManager::PlaySound(), and EffectSound::SetAutodestroy().
Referenced by OnActivate().
|
inlineprotected |
Definition at line 249 of file trap_bear.c.
References ActionDeployObject(), and AddAction().
|
staticprivate |
Definition at line 6 of file trap_bear.c.
Referenced by OnSteppedOn().
|
staticprivate |
Definition at line 3 of file trap_bear.c.