DIFF

class BearTrap

BearTrap › TrapBase › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed

Constructors 1

Constants 2

static const int RAYCAST_SOURCES_COUNT = 5
static const vector m_RaycastSources[RAYCAST_SOURCES_COUNT] = { "0.0 0.1 0.0", // center "0.2 0.1 0.2", // north east "-.2 0.1 0.2", // north west "0.2 0.1 -0.2", // south east "-0.2 0.1 -0.2" // south west }
Referenced by OnSteppedOn()

Methods 22

override bool CanBeDisarmed()
override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
override void OnUpdate(EntityAI victim)
override void OnSteppedOut(EntityAI victim)

this is also called on client (OnRPC->SnapOn->OnSteppedOn chain)

void CauseVictimToStartLimping(Object obj, string damagedZone)

Generic limp handling

Referenced by OnServerSteppedOn()
void PlaySoundBiteLeg()
Referenced by OnSteppedOn()
override void OnActivate()
References PlaySoundOpen()
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()
override void OnTriggeredByFall(Contact extra)
override void OnTriggeredByFallEffectsClient()
override void OnDebugSpawn()DEVELOPER
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)DEVELOPER