Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
enum | SoundTypeTrap { ACTIVATING = 5 } |
Functions | |
void | TrapBase () |
void | ~TrapBase () |
void | OnUpdate (EntityAI victim) |
TrapTrigger | GetTrapTrigger () |
override void | OnVariablesSynchronized () |
this event is called all variables are synchronized on client More... | |
override void | EEDelete (EntityAI parent) |
override void | OnStoreSave (ParamsWriteContext ctx) |
override bool | OnStoreLoad (ParamsReadContext ctx, int version) |
bool | IsActive () |
bool | IsInactive () |
override bool | IsTakeable () |
bool | IsActivable () |
bool | IsPlaceable () |
bool | IsPlaceableAtPosition (vector position) |
void | Disarm () |
void | OnDisarm () |
also called from RPC on client More... | |
void | SnapOnObject (EntityAI victim) |
void | RemoveFromObject (EntityAI victim) |
void | OnSteppedOn (EntityAI victim) |
void | OnSteppedOut (EntityAI victim) |
protected void | Synch (EntityAI victim) |
keeping "step" here for consistency only More... | |
override void | OnRPC (PlayerIdentity sender, int rpc_type, ParamsReadContext ctx) |
void | RefreshState () |
void | SetupTrap () |
void | SetupTrapPlayer (PlayerBase player, bool set_position=true) |
void | AddDefect () |
void | SetActive () |
void | OnActivate () |
HumanCommandScript fully scriptable command. More... | |
void | StartActivate (PlayerBase player) |
void | StartDeactivate (PlayerBase player) |
void | SetInactive (bool stop_timer=true) |
void | CreateTrigger () |
void | DeleteTrigger () |
void | DeferredEnableTrigger () |
override void | OnItemLocationChanged (EntityAI old_owner, EntityAI new_owner) |
override void | EEItemAttached (EntityAI item, string slot_name) |
override void | EEItemDetached (EntityAI item, string slot_name) |
override void | OnPlacementComplete (Man player, vector position="0 0 0", vector orientation="0 0 0") |
override bool | CanPutInCargo (EntityAI parent) |
override bool | CanPutIntoHands (EntityAI parent) |
override bool | CanRemoveFromHands (EntityAI parent) |
override bool | CanBePlaced (Man player, vector position) |
bool | CanBeClapped () |
DEPRECATED Set if trap can be disarmed using ActionClapBearTrapWithThisItem. More... | |
bool | CanBeDisarmed () |
void | SetDisarmed (bool disarmed) |
DEPRECATED. More... | |
bool | GetDisarmed () |
DEPRECATED. More... | |
void | PlayDeployLoopSound () |
void | StopDeployLoopSound () |
override void | SetActions () |
protected EntityAI | GetClosestCarWheel (EntityAI victim) |
protected void | DamageClothing (PlayerBase player) |
Variables | |
enum SoundTypeTrap | SPAWN_FLAGS = ECE_LOCAL |
const protected int | DAMAGE_TRIGGER_MINE = 75 |
const protected float | UPDATE_TIMER_INTERVAL = 0.05 |
float | m_InitWaitTime |
bool | m_NeedActivation |
float | m_DefectRate |
float | m_DamagePlayers |
float | m_DamageOthers |
bool | m_AddActivationDefect |
bool | m_AddDeactivationDefect |
protected bool | m_IsActive |
protected bool | m_IsInProgress |
protected bool | m_Disarmed = false |
bool | m_WasActivatedOrDeactivated |
DEPRECATED Used for explosive traps to prevent detonation after destroying through disarm action. More... | |
string | m_AnimationPhaseGrounded |
string | m_AnimationPhaseSet |
string | m_AnimationPhaseTriggered |
string | m_InfoSetup |
string | m_InfoDeactivated |
string | m_InfoDamageManipulation |
string | m_InfoDamage |
string | m_InfoActivationTime |
protected ref Timer | m_Timer |
protected ref Timer | m_UpdateTimer |
protected TrapTrigger | m_TrapTrigger |
protected ref array< int > | m_ClothingDmg |
protected ref EffectSound | m_DeployLoopSound |
enum SoundTypeTrap |
Enumerator | |
---|---|
ACTIVATING |
Definition at line 1 of file trapbase.c.
void AddDefect | ( | ) |
Definition at line 429 of file trapbase.c.
bool CanBeClapped | ( | ) |
DEPRECATED Set if trap can be disarmed using ActionClapBearTrapWithThisItem.
Definition at line 611 of file trapbase.c.
bool CanBeDisarmed | ( | ) |
Definition at line 617 of file trapbase.c.
Definition at line 605 of file trapbase.c.
Definition at line 580 of file trapbase.c.
Definition at line 590 of file trapbase.c.
Definition at line 600 of file trapbase.c.
void CreateTrigger | ( | ) |
Definition at line 498 of file trapbase.c.
protected void DamageClothing | ( | PlayerBase | player | ) |
Definition at line 691 of file trapbase.c.
void DeferredEnableTrigger | ( | ) |
Definition at line 520 of file trapbase.c.
void DeleteTrigger | ( | ) |
Definition at line 511 of file trapbase.c.
void Disarm | ( | ) |
Definition at line 221 of file trapbase.c.
override void EEDelete | ( | EntityAI | parent | ) |
Definition at line 117 of file trapbase.c.
Definition at line 551 of file trapbase.c.
Definition at line 559 of file trapbase.c.
carscript specific handling (not all traps are uses this)
ruined wheel, bail out
ignore all spare wheel
actual, healthy wheel, let it pass
Definition at line 650 of file trapbase.c.
bool GetDisarmed | ( | ) |
DEPRECATED.
Definition at line 629 of file trapbase.c.
TrapTrigger GetTrapTrigger | ( | ) |
Definition at line 88 of file trapbase.c.
bool IsActivable | ( | ) |
Definition at line 184 of file trapbase.c.
bool IsActive | ( | ) |
Definition at line 163 of file trapbase.c.
bool IsInactive | ( | ) |
Definition at line 168 of file trapbase.c.
bool IsPlaceable | ( | ) |
Definition at line 189 of file trapbase.c.
Definition at line 207 of file trapbase.c.
override bool IsTakeable | ( | ) |
Definition at line 174 of file trapbase.c.
void OnActivate | ( | ) |
HumanCommandScript fully scriptable command.
void OnDisarm | ( | ) |
also called from RPC on client
Definition at line 526 of file trapbase.c.
override void OnPlacementComplete | ( | Man | player, |
vector | position = "0 0 0" , |
||
vector | orientation = "0 0 0" |
||
) |
Definition at line 567 of file trapbase.c.
override void OnRPC | ( | PlayerIdentity | sender, |
int | rpc_type, | ||
ParamsReadContext | ctx | ||
) |
Definition at line 312 of file trapbase.c.
void OnSteppedOn | ( | EntityAI | victim | ) |
Definition at line 290 of file trapbase.c.
void OnSteppedOut | ( | EntityAI | victim | ) |
Definition at line 166 of file trap_landmine.c.
override bool OnStoreLoad | ( | ParamsReadContext | ctx, |
int | version | ||
) |
Definition at line 137 of file trapbase.c.
override void OnStoreSave | ( | ParamsWriteContext | ctx | ) |
Definition at line 128 of file trapbase.c.
void OnUpdate | ( | EntityAI | victim | ) |
Definition at line 89 of file trap_landmine.c.
override void OnVariablesSynchronized | ( | ) |
this event is called all variables are synchronized on client
Definition at line 94 of file trapbase.c.
void PlayDeployLoopSound | ( | ) |
void RefreshState | ( | ) |
Definition at line 354 of file trapbase.c.
void RemoveFromObject | ( | EntityAI | victim | ) |
Definition at line 285 of file trapbase.c.
override void SetActions | ( | ) |
Definition at line 642 of file trapbase.c.
void SetActive | ( | ) |
Definition at line 437 of file trapbase.c.
void SetDisarmed | ( | bool | disarmed | ) |
DEPRECATED.
Definition at line 623 of file trapbase.c.
void SetInactive | ( | bool | stop_timer = true | ) |
Definition at line 482 of file trapbase.c.
void SetupTrap | ( | ) |
Definition at line 402 of file trapbase.c.
void SetupTrapPlayer | ( | PlayerBase | player, |
bool | set_position = true |
||
) |
Definition at line 411 of file trapbase.c.
void SnapOnObject | ( | EntityAI | victim | ) |
Definition at line 233 of file trapbase.c.
void StartActivate | ( | PlayerBase | player | ) |
Definition at line 461 of file trapbase.c.
void StartDeactivate | ( | PlayerBase | player | ) |
Definition at line 218 of file trap_tripwire.c.
void StopDeployLoopSound | ( | ) |
protected void Synch | ( | EntityAI | victim | ) |
keeping "step" here for consistency only
Definition at line 298 of file trapbase.c.
void TrapBase | ( | ) |
timer calling OnUpdate in configured interval
Definition at line 49 of file trapbase.c.
void ~TrapBase | ( | ) |
Definition at line 81 of file trapbase.c.
const protected int DAMAGE_TRIGGER_MINE = 75 |
Definition at line 14 of file trapbase.c.
bool m_AddActivationDefect |
Definition at line 23 of file trapbase.c.
bool m_AddDeactivationDefect |
Definition at line 24 of file trapbase.c.
string m_AnimationPhaseGrounded |
Definition at line 32 of file trapbase.c.
string m_AnimationPhaseSet |
Definition at line 33 of file trapbase.c.
string m_AnimationPhaseTriggered |
Definition at line 34 of file trapbase.c.
Definition at line 46 of file trapbase.c.
float m_DamageOthers |
Definition at line 21 of file trapbase.c.
float m_DamagePlayers |
Definition at line 20 of file trapbase.c.
float m_DefectRate |
Definition at line 19 of file trapbase.c.
protected ref EffectSound m_DeployLoopSound |
Definition at line 47 of file trapbase.c.
protected bool m_Disarmed = false |
Definition at line 28 of file trapbase.c.
string m_InfoActivationTime |
Definition at line 40 of file trapbase.c.
string m_InfoDamage |
Definition at line 39 of file trapbase.c.
string m_InfoDamageManipulation |
Definition at line 38 of file trapbase.c.
string m_InfoDeactivated |
Definition at line 37 of file trapbase.c.
string m_InfoSetup |
Definition at line 36 of file trapbase.c.
float m_InitWaitTime |
Definition at line 17 of file trapbase.c.
protected bool m_IsActive |
Definition at line 25 of file trapbase.c.
protected bool m_IsInProgress |
Definition at line 26 of file trapbase.c.
bool m_NeedActivation |
Definition at line 18 of file trapbase.c.
protected ref Timer m_Timer |
Definition at line 42 of file trapbase.c.
protected TrapTrigger m_TrapTrigger |
Definition at line 44 of file trapbase.c.
protected ref Timer m_UpdateTimer |
Definition at line 43 of file trapbase.c.
bool m_WasActivatedOrDeactivated |
DEPRECATED Used for explosive traps to prevent detonation after destroying through disarm action.
Definition at line 30 of file trapbase.c.
enum SoundTypeTrap SPAWN_FLAGS = ECE_LOCAL |
const protected float UPDATE_TIMER_INTERVAL = 0.05 |
Definition at line 15 of file trapbase.c.