class ClaymoreMine
ClaymoreMine › ExplosivesBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Constants 3
protected const string ANIM_PHASE_PACKED = "Bag"Referenced by UpdateVisuals()
protected const string ANIM_PHASE_DEPLOYED = "Mine"Referenced by UpdateVisuals()
protected const string SELECTION_NAME_LED = "LED"Referenced by UpdateLED()
Members 5
protected ref RemotelyActivatedItemBehaviour m_RAIBprotected ERemoteDetonatorLEDState m_LastLEDStateReferenced by UpdateLED()
protected bool m_IsFalling = falseReferenced by ClearIsFalling(), EOnContact(), OnItemFallRebuilding()
Show 1 more
, OnTriggeredByFall()protected bool m_FallTriggered = falseReferenced by EOnContact()
protected Shape m_DamageZoneDIAG_DEVELOPERMethods 34
References UpdateVisuals()
override void EEKilled(Object killer)override void EEDelete(EntityAI parent)override protected void InitiateExplosion()Referenced by OnTriggeredByFall()
override void AfterStoreLoad()References ItemBase.AfterStoreLoad(), ExplosivesBase.GetArmed(), UpdateLED()
Show 1 more
, UpdateVisuals()override void OnVariablesSynchronized()References ItemBase.OnVariablesSynchronized(), RemotelyActivatedItemBehaviour.OnVariableSynchronized(), UpdateVisuals()
Show 1 more
, m_RAIBoverride void EEItemLocationChanged(notnull InventoryLocation oldLoc, notnull InventoryLocation newLoc)override RemotelyActivatedItemBehaviour GetRemotelyActivatedItemBehaviour()References m_RAIB
override void PairRemote(notnull EntityAI trigger)override EntityAI GetPairDevice()Referenced by OnActivatedByItem()
override bool CanBeDisarmed()References ExplosivesBase.GetArmed()
override void OnActivatedByItem(notnull ItemBase item)References ExplosivesBase.GetArmed(), GetPairDevice(), RemotelyActivatedItemBehaviour.IsPaired()
Show 3 more
, CGame.IsServer(), Object.SetHealth(), and m_RAIBoverride void OnArmed()References ScriptCallQueue.CallLater(), DayZGame.GetCallQueue(), ExplosivesBase.OnArmed()
Show 2 more
, UpdateLED(), and UpdateVisuals()override void OnDisarmed(bool pWithTool)References ExplosivesBase.OnDisarmed(), RemoveDebugVisuals(), ExplosivesBase.SetDefused()
Show 4 more
, Object.SetHealth(), ExplosivesBase.UnpairRemote(), UpdateLED(), and UpdateVisuals()override void OnPlacementComplete(Man player, vector position = "0 0 0", vector orientation = "0 0 0")References ExplosivesBase.Arm(), CGame.IsServer(), ExplosivesBase.OnPlacementComplete()
Show 2 more
, ItemBase.PairWithDevice(), and RemoteDetonatorTrigger.SpawnInPlayerHands()protected void UpdateVisuals()Referenced by AfterStoreLoad(), EOnInit(), OnArmed()
Show 2 more
, OnDisarmed(), and OnVariablesSynchronized()protected void UpdateLED(ERemoteDetonatorLEDState pState, bool pForced = false)override bool IsTakeable()override bool IsDeployable()override void SetActions()override void OnItemFallRebuilding()Fires when the (now dynamic) trap actually hits something - the real "it fell" moment.
protected void OnTriggeredByFall(Contact extra)SERVER: decide what "triggered by falling" means for this mine.
References ScriptCallQueue.CallLater(), DayZGame.GetCallQueue(), InitiateExplosion()
Show 2 more
, CGame.IsServer(), and m_IsFallingReferenced by EOnContact()
protected void ClearIsFalling()References m_IsFalling
override int GetViewIndex()override string GetDeploySoundset()override string GetLoopDeploySoundset()override string GetArmSoundset()override string GetDisarmSoundset()override string GetDisarmSoundsetUnpaired()override void OnDebugSpawn()References ExplosivesBase.Arm(), Class.Cast(), Object.GetDirection()
Show 3 more
, Object.GetPosition(), ItemBase.PairWithDevice(), and EntityAI.SpawnEntityOnGroundPos()override protected string GetDebugText()DIAG_DEVELOPERprotected void DrawDamageZone()DIAG_DEVELOPERReferences CGame.ConfigGetFloat(), Debug.DrawFrustum(), DiagMenu.GetBool()
Show 5 more
, IEntity.GetTransform(), RemoveDebugVisuals(), Shape.SetMatrix(), ExplosivesBase.m_AmmoTypes, and m_DamageZonevoid RemoveDebugVisuals()DIAG_DEVELOPER