Hooks
Hooks provided by the VManip module for managing viewmodel manipulation animations.
Overview
The VManip module adds vmanip animation support, hand gestures for items, functionality within lilia, api for custom gesture triggers, and fallback animations when vmanip is missing.. It provides comprehensive hook integration for customizing managing viewmodel manipulation animations and extending functionality.
PreVManipPickup
đ Purpose
Called before a VManip pickup animation is triggered.
â° When Called
When a player picks up an item, before the animation plays.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player picking up the item |
item |
Item | The item being picked up |
âŠī¸ Returns
nil
đ Realm
Server
Overview
The VManip module adds vmanip animation support, hand gestures for items, functionality within lilia, api for custom gesture triggers, and fallback animations when vmanip is missing.. It provides comprehensive hook integration for customizing managing viewmodel manipulation animations and extending functionality.
VManipAnimationPlayed
đ Purpose
Called when a VManip animation is played.
â° When Called
After the animation starts playing on the client.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
itemID |
string | The unique ID of the item that triggered the animation |
âŠī¸ Returns
nil
đ Realm
Client
Overview
The VManip module adds vmanip animation support, hand gestures for items, functionality within lilia, api for custom gesture triggers, and fallback animations when vmanip is missing.. It provides comprehensive hook integration for customizing managing viewmodel manipulation animations and extending functionality.
VManipChooseAnim
đ Purpose
Called to choose which VManip animation to play.
â° When Called
When determining which animation to use for an item pickup.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
itemID |
string | The unique ID of the item |
âŠī¸ Returns
string - Return animation name to use, nil for default
đ Realm
Client
Overview
The VManip module adds vmanip animation support, hand gestures for items, functionality within lilia, api for custom gesture triggers, and fallback animations when vmanip is missing.. It provides comprehensive hook integration for customizing managing viewmodel manipulation animations and extending functionality.
VManipPickup
đ Purpose
Called when a VManip pickup is performed.
â° When Called
After the pickup animation is sent to the client.
âī¸ Parameters
| Parameter | Type | Description |
|---|---|---|
client |
Player | The player picking up the item |
item |
Item | The item being picked up |
âŠī¸ Returns
nil
đ Realm
Server