class LandMineTrapSource
LandMineTrap › TrapBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 2
void LandMineTrap()void ~LandMineTrap()Constants 3
private const int BROKEN_LEG_PROB = 90Referenced by OnSteppedOn()
private const int BLEED_SOURCE_PROB = 50Referenced by OnSteppedOn()
private const int MAX_BLEED_SOURCE = 1Referenced by OnSteppedOn()
Members 4
protected ref EffectSound m_TimerLoopSoundprotected ref EffectSound m_SafetyPinSoundReferenced by StartActivate()
protected ref EffectSound m_DisarmingLoopSoundprotected ref Timer m_DeleteTimerReferenced by DeleteThis()
Methods 24
override void StartActivate(PlayerBase player)References Object.GetPosition(), CGame.IsDedicatedServer(), SEffectManager.PlaySound()
Show 4 more
, EffectSound.SetAutodestroy(), TrapBase.StartActivate(), m_SafetyPinSound, and m_TimerLoopSoundoverride void OnActivatedByItem(notnull ItemBase item)override void OnActivate()References CGame.GetPlayer(), CGame.IsDedicatedServer(), PlaySoundActivate()
Show 3 more
, EffectSound.SetAutodestroy(), EffectSound.SoundStop(), and m_TimerLoopSoundoverride bool CanExplodeInFire()override void OnUpdate(EntityAI victim)override void OnSteppedOn(EntityAI victim)References BleedingSourcesManagerBase.AttemptAddBleedingSourceBySelection(), Class.Cast(), Class.Cast()
Show 23 more
, array.Count(), PlayerBase.DamageAllLegs(), TrapBase.DamageClothing(), MiscGameplayFunctions.DealAbsoluteDmg(), DeleteThis(), Explode(), Object.GetAllowDamage(), Object.GetMaxHealth(), Object.IsAlive(), Class.IsInherited(), CGame.IsServer(), TrapBase.OnSteppedOn(), Math.RandomInt(), Math.RandomIntInclusive(), Timer.Run(), BLEED_SOURCE_PROB, BROKEN_LEG_PROB, TrapBase.DAMAGE_TRIGGER_MINE, PlayerBase.m_BleedingManagerServer, PlayerBase.m_BleedingSourcesLow, TrapBase.m_UpdateTimer, MAX_BLEED_SOURCE, and TrapBase.UPDATE_TIMER_INTERVALReferenced by ActionDisarmMine.OnFinishProgressServer()
override void OnSteppedOut(EntityAI victim)CarScript specific reaction on LandMineTrap
References Class.IsInherited(), TimerBase.IsRunning(), Timer.Stop()
Show 1 more
, TrapBase.m_UpdateTimerReferenced by OnUpdate()
void DeleteThis()References TrapBase.OnItemLocationChanged()
override void EEKilled(Object killer)void PlaySoundActivate()References Object.GetPosition(), CGame.IsDedicatedServer(), SEffectManager.PlaySound()
Show 1 more
, EffectSound.SetAutodestroy()Referenced by OnActivate()
References Object.ConfigGetString(), DeleteThis(), DamageSystem.ExplosionDamage()
Show 4 more
, Object.GetPosition(), CGame.IsServer(), Object.SynchExplosion(), and Vector()override bool CanBeDisarmed()Referenced by ActionDisarmMine.ActionCondition()
override void OnRPC(PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)References TrapBase.OnRPC(), PlayDisarmingLoopSound(), Serializer.Read()
Show 2 more
, StopDisarmingLoopSound(), and Param1.param1void PlayDisarmingLoopSound()References Object.GetPosition(), EffectSound.IsSoundPlaying(), SEffectManager.PlaySound()
Show 1 more
, m_DisarmingLoopSoundReferenced by OnRPC()
void StopDisarmingLoopSound()Referenced by OnRPC()
override void OnPlacementComplete(Man player, vector position = "0 0 0", vector orientation = "0 0 0")References Class.Cast(), CGame.IsServer(), TrapBase.OnPlacementComplete()
Show 1 more
, StartActivate()override bool IsDeployable()override string GetLoopDeploySoundset()override void SetActions()override void OnDebugSpawn()DEVELOPERReferences StartActivate()
override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)DEVELOPERReferences ItemBase.GetDebugActions(), array.Insert(), new TSelectableActionInfoWithColor()
Show 2 more
, FadeColors.LIGHT_GREY, and FadeColors.REDoverride bool OnAction(int action_id, Man player, ParamsReadContext ctx)DEVELOPERReferences CGame.IsMultiplayer(), CGame.IsServer(), ItemBase.OnAction()