manage_interaction
Create interactive game objects (doors, switches, chests, levers) and set up destructible meshes and trigger volumes.
Instructions
Create interactive objects: doors, switches, chests, levers. Set up destructible meshes and trigger volumes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name identifier. | |
| size | No | Size of trigger volume. | |
| action | Yes | The interaction action to perform. | |
| folder | No | Path to a directory. | |
| levels | No | Destruction level definitions. | |
| locked | No | Whether the item is locked. | |
| oneShot | No | Whether switch can only be used once. | |
| cooldown | No | Cooldown time in seconds. | |
| doorPath | No | Path to door actor blueprint. | |
| meshPath | No | Mesh asset path. | |
| moveTime | No | Time for lever movement. | |
| openTime | No | Time to open/close door in seconds. | |
| actorName | No | Name of the actor. | |
| autoClose | No | Automatically close after opening. | |
| chestPath | No | Path to chest actor blueprint. | |
| leverType | No | Lever movement type. | |
| maxHealth | No | Maximum health before destruction. | |
| openAngle | No | Door open rotation angle in degrees. | |
| openSound | No | Sound to play on open. | |
| resetTime | No | Time to reset switch in seconds. | |
| traceType | No | Type of interaction trace. | |
| closeSound | No | Sound to play on close. | |
| ignoreTags | No | Tags to ignore in trigger. | |
| switchPath | No | Path to switch actor blueprint. | |
| switchType | No | Type of switch. | |
| toggleable | No | Whether switch can be toggled. | |
| autoDestroy | No | Automatically destroy at zero health. | |
| filterByTag | No | Actor tag filter for trigger. | |
| keyItemPath | No | Item required to unlock. | |
| lidMeshPath | No | Path to lid mesh. | |
| onExitEvent | No | Event dispatcher name for exit. | |
| onStayEvent | No | Event dispatcher name for stay. | |
| pivotOffset | No | Offset for door pivot point. | |
| requiresKey | No | Whether interaction requires a key item. | |
| respawnTime | No | Respawn time in seconds. | |
| respawnable | No | ||
| showOnHover | No | Show widget when hovering. | |
| traceRadius | No | Trace radius. | |
| triggerPath | No | Path to trigger actor blueprint. | |
| widgetClass | No | Widget class path. | |
| destroySound | No | Sound on destruction. | |
| fractureMode | No | Fracture pattern type. | |
| moveDistance | No | Distance for translation lever. | |
| onEnterEvent | No | Event dispatcher name for enter. | |
| responseType | No | How trigger responds. | |
| stayInterval | No | Interval for stay events in seconds. | |
| targetActors | No | Actors affected by this switch. | |
| traceChannel | No | Collision trace channel. | |
| triggerShape | No | Shape of trigger volume. | |
| widgetOffset | No | Widget offset from actor. | |
| activateSound | No | Sound on activation. | |
| blueprintPath | No | Blueprint asset path. | |
| componentName | No | Name of the component. | |
| enablePhysics | No | Enable physics on destruction. | |
| filterByClass | No | Actor class filter for trigger. | |
| ignoreClasses | No | Classes to ignore in trigger. | |
| lootTablePath | No | Path to loot table asset. | |
| openDirection | No | Door open direction. | |
| traceDistance | No | Trace distance. | |
| autoCloseDelay | No | Delay before auto-close in seconds. | |
| debrisLifetime | No | Debris lifetime in seconds. | |
| fracturePieces | No | Number of fracture pieces. | |
| maxActivations | No | Maximum number of activations (0 = unlimited). | |
| showPromptText | No | Show interaction prompt text. | |
| traceFrequency | No | Trace frequency. | |
| deactivateSound | No | Sound on deactivation. | |
| destroyParticle | No | Particle effect on destruction. | |
| damageThresholds | No | Damage thresholds for destruction levels. | |
| promptTextFormat | No | Format string for prompt (e.g., "Press {Key} to {Action}"). | |
| filterByInterface | No | Interface filter for trigger. | |
| debrisPhysicsMaterial | No | Physics material for debris. | |
| impactDamageMultiplier | No | Multiplier for impact damage. | |
| radialDamageMultiplier | No | Multiplier for radial damage. |