DIFF

class BearTrapSource

BearTrap TrapBase ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

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 20

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()
void PlaySoundBiteEmpty()
Referenced by OnDisarm()
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 OnDebugSpawn()DEVELOPER
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)DEVELOPER