Hooks
Hooks provided by the Door Kick module for managing door kicking mechanics.
Overview
The Door Kick module adds the ability to kick doors open with an animation, logging of door kick events, and a fun breach mechanic with physics force to fling doors open.. It provides comprehensive hook integration for customizing managing door kicking mechanics and extending functionality.
DoorKickedOpen
đ Purpose
Called when a player successfully kicks open a door.
â° When Called
After the door is unlocked and opened following a successful kick.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player who kicked the door |
ent |
Entity | The door entity that was kicked open |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Door Kick module adds the ability to kick doors open with an animation, logging of door kick events, and a fun breach mechanic with physics force to fling doors open.. It provides comprehensive hook integration for customizing managing door kicking mechanics and extending functionality.
DoorKickFailed
đ Purpose
Called when a door kick attempt fails.
â° When Called
When a door kick fails for various reasons (disabled, too close, too far, invalid, etc.).
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player whose kick attempt failed |
ent |
Entity | The door entity (may be invalid) |
reason |
string | The reason for failure: "disabled", "weak", "cannotKick", "tooClose", "tooFar", or "invalid" |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The Door Kick module adds the ability to kick doors open with an animation, logging of door kick events, and a fun breach mechanic with physics force to fling doors open.. It provides comprehensive hook integration for customizing managing door kicking mechanics and extending functionality.
DoorKickStarted
đ Purpose
Called when a player begins the door kick animation.
â° When Called
When the kick sequence starts and the player is frozen.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player starting the kick |
ent |
Entity | The door entity being kicked |
âŠī¸ Returns
nil
đ Realm
Server